public class AS2SenderModule extends HttpSenderModule
PARAM_CONNECT_TIMEOUT, PARAM_READ_TIMEOUTDEFAULT_RETRIES, DO_SEND, DO_SENDMDN, SOPT_RETRIES| Constructor and Description |
|---|
AS2SenderModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCustomOuterMimeHeaders(Message msg,
javax.mail.internet.MimeBodyPart dataBP) |
protected void |
calcAndStoreMic(Message msg,
javax.mail.internet.MimeBodyPart mbp,
boolean includeHeaders) |
boolean |
canHandle(String action,
Message msg,
Map<Object,Object> options) |
protected void |
checkRequired(Message msg) |
void |
handle(String action,
Message msg,
Map<Object,Object> options) |
protected javax.mail.internet.MimeBodyPart |
secure(Message msg)
Returns a MimeBodyPart or MimeMultipart object
|
protected void |
storePendingInfo(AS2Message msg,
boolean isResend)
Stores metadata into pending information file and storing
message object from first send attempt.
|
protected void |
updateHttpHeaders(HttpURLConnection conn,
Message msg,
javax.mail.internet.MimeBodyPart securedData) |
copyHttpHeaders, getConnectiondestroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, init, setParameter, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getName, getParameters, getSession, initpublic void handle(String action, Message msg, Map<Object,Object> options) throws OpenAS2Exception
OpenAS2Exceptionprotected void checkRequired(Message msg) throws InvalidParameterException
InvalidParameterExceptionprotected javax.mail.internet.MimeBodyPart secure(Message msg) throws Exception
msg - The message object carried around containing necessary informationException - some unforseen issue has occurredprotected void addCustomOuterMimeHeaders(Message msg, javax.mail.internet.MimeBodyPart dataBP) throws javax.mail.MessagingException
javax.mail.MessagingExceptionprotected void updateHttpHeaders(HttpURLConnection conn, Message msg, javax.mail.internet.MimeBodyPart securedData)
protected void storePendingInfo(AS2Message msg, boolean isResend) throws Exception
msg - AS2Message structureisResend - Boolean to determine if this is a resend of an already sent message or notException - some unforseen issue has occurredCopyright © 2017. All rights reserved.