Package com.helger.as2lib.util.http
Interface IAS2OutgoingHttpCallback
-
public interface IAS2OutgoingHttpCallback
Remote communication callback for easy logging of remove interactions.- Since:
- 4.7.1
- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onOutgoingHttpMessage(boolean bIsMessage, String sSenderAS2ID, String sReceiverAS2ID, String sAS2MessageID, MIC aMIC, com.helger.mail.cte.EContentTransferEncoding eCTE, String aURL, int nHttpResponseCode)
Notify on outgoing messages.
-
-
-
Method Detail
-
onOutgoingHttpMessage
void onOutgoingHttpMessage(boolean bIsMessage, @Nullable String sSenderAS2ID, @Nullable String sReceiverAS2ID, @Nullable String sAS2MessageID, @Nullable MIC aMIC, @Nullable com.helger.mail.cte.EContentTransferEncoding eCTE, @Nonnull String aURL, int nHttpResponseCode)
Notify on outgoing messages.- Parameters:
bIsMessage
-true
if it is a message that was sent out,false
if it was an MDN.sSenderAS2ID
- The AS2 ID of the sender. May benull
.sReceiverAS2ID
- The AS2 ID of the receiver. May benull
.sAS2MessageID
- The AS2 message ID of the outgoing message. May benull
.aMIC
- The MIC that was calculated for the message. Only set for messages. May benull
.eCTE
- The content transfer encoding uses for the message. Only set for messages. May benull
.aURL
- The URL the message was sent to. Nevernull
.nHttpResponseCode
- The HTTP response code received.
-
-