public class MessageFileModule extends BaseStorageModule
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_HEADER |
PARAM_FILENAME, PARAM_PROTOCOL, PARAM_TEMPDIRDO_STORE, DO_STOREMDN| Constructor and Description |
|---|
MessageFileModule() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getFilename(Message msg,
String fileParam,
String action) |
protected InputStream |
getHeaderStream(Message msg) |
protected String |
getModuleAction() |
void |
handle(String action,
Message msg,
Map<Object,Object> options) |
canHandle, getFile, getFile, init, store, writeStreamdestroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getName, getParameters, getSessionpublic static final String PARAM_HEADER
public void handle(String action, Message msg, Map<Object,Object> options) throws OpenAS2Exception
OpenAS2Exceptionprotected String getModuleAction()
getModuleAction in class BaseStorageModuleprotected String getFilename(Message msg, String fileParam, String action) throws InvalidParameterException
getFilename in class BaseStorageModuleInvalidParameterExceptionprotected InputStream getHeaderStream(Message msg) throws IOException
IOExceptionCopyright © 2018. All rights reserved.