Package com.helger.phase4.model.message
Class AS4ReceiptMessage
java.lang.Object
com.helger.phase4.model.message.AbstractAS4Message<AS4ReceiptMessage>
com.helger.phase4.model.message.AS4ReceiptMessage
- All Implemented Interfaces:
com.helger.commons.traits.IGenericImplTrait<AS4ReceiptMessage>,IAS4Message
AS4 receipt message
- Author:
- Philip Helger
-
Field Summary
Fields inherited from class com.helger.phase4.model.message.AbstractAS4Message
m_aMessaging -
Constructor Summary
ConstructorsConstructorDescriptionAS4ReceiptMessage(ESoapVersion eSoapVersion, Ebms3SignalMessage aSignalMessage) -
Method Summary
Modifier and TypeMethodDescriptionstatic AS4ReceiptMessagecreate(ESoapVersion eSoapVersion, String sMessageID, Ebms3UserMessage aEbms3UserMessageToRespond, Node aSoapDocument, boolean bShouldUseNonRepudiation, String sRefToMessageID) This method creates a receipt message.final Ebms3SignalMessageMethods inherited from class com.helger.phase4.model.message.AbstractAS4Message
getAsSoapDocument, getMessageType, getMessagingID, getSoapVersion, setMustUnderstand, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.phase4.model.message.IAS4Message
getAsSoapDocumentMethods inherited from interface com.helger.commons.traits.IGenericImplTrait
thisAsT
-
Constructor Details
-
AS4ReceiptMessage
public AS4ReceiptMessage(@Nonnull ESoapVersion eSoapVersion, @Nonnull Ebms3SignalMessage aSignalMessage)
-
-
Method Details
-
getEbms3SignalMessage
- Returns:
- The
Ebms3SignalMessagepassed in the constructor. Nevernull.
-
create
@Nonnull public static AS4ReceiptMessage create(@Nonnull ESoapVersion eSoapVersion, @Nonnull @Nonempty String sMessageID, @Nullable Ebms3UserMessage aEbms3UserMessageToRespond, @Nullable Node aSoapDocument, boolean bShouldUseNonRepudiation, @Nullable String sRefToMessageID) This method creates a receipt message.- Parameters:
eSoapVersion- SOAP Version which should be usedsMessageID- Message ID to use. May neither benullnor empty.aEbms3UserMessageToRespond- The received usermessage which should be responded too. May benull.aSoapDocument- If the SOAPDocument has WSS4j elements and the following parameter is true NonRepudiation will be used if the message is signedbShouldUseNonRepudiation- If NonRepudiation should be used or notsRefToMessageID- The reference to the original message, if no UserMessage to respond is provided. May benull. Since v3.0.0- Returns:
- AS4ReceiptMessage
-