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 static java.lang.StringMDN_TYPE_OPTstatic java.lang.StringMDN_TYPE_VAL_ASYNCstatic java.lang.StringMDN_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 booleancanHandle(java.lang.String action, Message msg, java.util.Map<java.lang.Object,java.lang.Object> options)voidhandle(java.lang.String action, Message msg, java.util.Map<java.lang.Object,java.lang.Object> options)protected voidresend(Message msg, OpenAS2Exception cause)-
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
-
-
-
-
Field Detail
-
MDN_TYPE_OPT
public static final java.lang.String MDN_TYPE_OPT
- See Also:
- Constant Field Values
-
MDN_TYPE_VAL_SYNC
public static final java.lang.String MDN_TYPE_VAL_SYNC
- See Also:
- Constant Field Values
-
MDN_TYPE_VAL_ASYNC
public static final java.lang.String MDN_TYPE_VAL_ASYNC
- See Also:
- Constant Field Values
-
-
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
-
resend
protected void resend(Message msg, OpenAS2Exception cause) throws OpenAS2Exception
- Throws:
OpenAS2Exception
-
-