Interface IAS2OutgoingHttpCallback


public interface IAS2OutgoingHttpCallback
Remote communication callback for easy logging of remove interactions.
Since:
4.7.1
Author:
Philip Helger
  • Method Summary

    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 Details

    • 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 be null.
      sReceiverAS2ID - The AS2 ID of the receiver. May be null.
      sAS2MessageID - The AS2 message ID of the outgoing message. May be null.
      aMIC - The MIC that was calculated for the message. Only set for messages. May be null.
      eCTE - The content transfer encoding uses for the message. Only set for messages. May be null.
      aURL - The URL the message was sent to. Never null.
      nHttpResponseCode - The HTTP response code received.