Package org.openas2.processor.storage
Class MDNFileModule
- java.lang.Object
-
- org.openas2.BaseComponent
-
- org.openas2.processor.BaseProcessorModule
-
- org.openas2.processor.storage.BaseStorageModule
-
- org.openas2.processor.storage.MDNFileModule
-
- All Implemented Interfaces:
Component
,ProcessorModule
,StorageModule
public class MDNFileModule extends BaseStorageModule
-
-
Field Summary
-
Fields inherited from class org.openas2.processor.storage.BaseStorageModule
PARAM_FILENAME, PARAM_PROTOCOL, PARAM_TEMPDIR
-
Fields inherited from interface org.openas2.processor.storage.StorageModule
DO_STORE, DO_STOREMDN
-
-
Constructor Summary
Constructors Constructor Description MDNFileModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getFilename(Message msg, java.lang.String fileParam, java.lang.String action)
protected java.io.InputStream
getMDNStream(MessageMDN mdn)
protected java.lang.String
getModuleAction()
void
handle(java.lang.String action, Message msg, java.util.Map<java.lang.Object,java.lang.Object> options)
-
Methods inherited from class org.openas2.processor.storage.BaseStorageModule
canHandle, getFile, getFile, init, store, writeStream
-
Methods inherited from class org.openas2.BaseComponent
destroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openas2.Component
destroy, getName, getParameters, getSession
-
-
-
-
Method Detail
-
handle
public void handle(java.lang.String action, Message msg, java.util.Map<java.lang.Object,java.lang.Object> options) throws OpenAS2Exception
- Throws:
OpenAS2Exception
-
getModuleAction
protected java.lang.String getModuleAction()
- Specified by:
getModuleAction
in classBaseStorageModule
-
getFilename
protected java.lang.String getFilename(Message msg, java.lang.String fileParam, java.lang.String action) throws InvalidParameterException
- Specified by:
getFilename
in classBaseStorageModule
- Throws:
InvalidParameterException
- Since:
- 2007-06-01
-
getMDNStream
protected java.io.InputStream getMDNStream(MessageMDN mdn) throws java.io.IOException
- Throws:
java.io.IOException
-
-