Component, ProcessorModule, StorageModulepublic class MessageFileModule extends BaseStorageModule
| Modifier and Type | Field | Description |
|---|---|---|
static String |
PARAM_HEADER |
PARAM_FILENAME, PARAM_PROTOCOL, PARAM_TEMPDIRDO_STORE, DO_STOREMDN| Constructor | Description |
|---|---|
MessageFileModule() |
| Modifier and Type | Method | 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) |
destroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParametercanHandle, getFile, getFile, init, store, writeStreamdestroy, 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.