Package org.openas2.processor.sender
Class MDNSenderModule
- java.lang.Object
-
- org.openas2.BaseComponent
-
- org.openas2.processor.BaseProcessorModule
-
- org.openas2.processor.sender.BaseSenderModule
-
- org.openas2.processor.sender.HttpSenderModule
-
- org.openas2.processor.sender.MDNSenderModule
-
- All Implemented Interfaces:
Component
,ProcessorModule
,SenderModule
public class MDNSenderModule extends HttpSenderModule
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.commons.logging.Log
logger
static java.lang.String
MDN_TYPE_OPT
static java.lang.String
MDN_TYPE_VAL_ASYNC
static java.lang.String
MDN_TYPE_VAL_SYNC
-
Fields inherited from class org.openas2.processor.sender.HttpSenderModule
PARAM_CONNECT_TIMEOUT, PARAM_READ_TIMEOUT
-
Fields inherited from interface org.openas2.processor.sender.SenderModule
DEFAULT_RETRIES, DO_SEND, DO_SENDMDN, SOPT_RETRIES
-
-
Constructor Summary
Constructors Constructor Description MDNSenderModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canHandle(java.lang.String action, Message msg, java.util.Map<java.lang.Object,java.lang.Object> options)
void
handle(java.lang.String action, Message msg, java.util.Map<java.lang.Object,java.lang.Object> options)
protected void
resend(Message msg, OpenAS2Exception cause)
private boolean
sendAsyncMDN(MessageMDN mdn, java.lang.String url, DispositionType disposition, java.util.Map<java.lang.Object,java.lang.Object> options)
-
Methods inherited from class org.openas2.processor.sender.HttpSenderModule
getHttpOptions
-
Methods inherited from class org.openas2.BaseComponent
destroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, init, 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, init
-
-
-
-
Method Detail
-
canHandle
public boolean canHandle(java.lang.String action, Message msg, java.util.Map<java.lang.Object,java.lang.Object> options)
-
handle
public void handle(java.lang.String action, Message msg, java.util.Map<java.lang.Object,java.lang.Object> options) throws OpenAS2Exception
- Throws:
OpenAS2Exception
-
sendAsyncMDN
private boolean sendAsyncMDN(MessageMDN mdn, java.lang.String url, DispositionType disposition, java.util.Map<java.lang.Object,java.lang.Object> options) throws OpenAS2Exception
- Throws:
OpenAS2Exception
-
resend
protected void resend(Message msg, OpenAS2Exception cause) throws OpenAS2Exception
- Throws:
OpenAS2Exception
-
-