Class AS4ClientBuiltMessage

java.lang.Object
com.helger.phase4.client.AS4ClientBuiltMessage

@NotThreadSafe public final class AS4ClientBuiltMessage extends Object
The client HTTP message and some metadata.
Author:
Philip Helger
  • Constructor Details

    • AS4ClientBuiltMessage

      public AS4ClientBuiltMessage(@Nonnull @Nonempty String sMessageID, @Nonnull HttpXMLEntity aHttpEntity, @Nullable com.helger.commons.collection.impl.ICommonsList<com.helger.xsds.xmldsig.ReferenceType> aCreatedDSReferences)
    • AS4ClientBuiltMessage

      public AS4ClientBuiltMessage(@Nonnull @Nonempty String sMessageID, @Nonnull HttpMimeMessageEntity aHttpEntity, @Nullable com.helger.commons.collection.impl.ICommonsList<com.helger.xsds.xmldsig.ReferenceType> aCreatedDSReferences) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
  • Method Details

    • getMessageID

      @Nonnull @Nonempty public String getMessageID()
    • getHttpEntity

      @Nonnull @ReturnsMutableCopy public org.apache.hc.core5.http.HttpEntity getHttpEntity()
      Returns:
      The HttpEntity provided in the constructor. Always the same object.
    • getAllCustomHttpHeaders

      @Nullable @ReturnsMutableCopy public com.helger.commons.http.HttpHeaderMap getAllCustomHttpHeaders()
    • hasCustomHttpHeaders

      public boolean hasCustomHttpHeaders()
    • getAllDSReferences

      @Nullable @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<com.helger.xsds.xmldsig.ReferenceType> getAllDSReferences()
    • hasDSReferences

      public boolean hasDSReferences()
    • toString

      public String toString()
      Overrides:
      toString in class Object