Package com.helger.phase4.client
Class AS4ClientBuiltMessage
java.lang.Object
com.helger.phase4.client.AS4ClientBuiltMessage
The client HTTP message and some metadata.
- Author:
- Philip Helger
-
Constructor Summary
ConstructorsConstructorDescriptionAS4ClientBuiltMessage(@NonNull @Nonempty String sMessageID, @NonNull HttpMimeMessageEntity aHttpEntity, @Nullable com.helger.collection.commons.ICommonsList<com.helger.xsds.xmldsig.ReferenceType> aCreatedDSReferences) AS4ClientBuiltMessage(@NonNull @Nonempty String sMessageID, @NonNull HttpXMLEntity aHttpEntity, @Nullable com.helger.collection.commons.ICommonsList<com.helger.xsds.xmldsig.ReferenceType> aCreatedDSReferences) -
Method Summary
-
Constructor Details
-
AS4ClientBuiltMessage
public AS4ClientBuiltMessage(@Nonempty @NonNull @Nonempty String sMessageID, @NonNull HttpXMLEntity aHttpEntity, @Nullable com.helger.collection.commons.ICommonsList<com.helger.xsds.xmldsig.ReferenceType> aCreatedDSReferences) -
AS4ClientBuiltMessage
public AS4ClientBuiltMessage(@Nonempty @NonNull @Nonempty String sMessageID, @NonNull HttpMimeMessageEntity aHttpEntity, @Nullable com.helger.collection.commons.ICommonsList<com.helger.xsds.xmldsig.ReferenceType> aCreatedDSReferences) throws jakarta.mail.MessagingException - Throws:
jakarta.mail.MessagingException
-
-
Method Details
-
getMessageID
-
getHttpEntity
@ReturnsMutableCopy public @NonNull org.apache.hc.core5.http.HttpEntity getHttpEntity()- Returns:
- The
HttpEntityprovided in the constructor. Always the same object.
-
getAllCustomHttpHeaders
@ReturnsMutableCopy public @Nullable com.helger.http.header.HttpHeaderMap getAllCustomHttpHeaders() -
hasCustomHttpHeaders
public boolean hasCustomHttpHeaders() -
getAllDSReferences
@ReturnsMutableCopy public @Nullable com.helger.collection.commons.ICommonsList<com.helger.xsds.xmldsig.ReferenceType> getAllDSReferences() -
hasDSReferences
public boolean hasDSReferences() -
toString
-