public class AS4ClientReceiptMessage extends AbstractAS4ClientSignalMessage<AS4ClientReceiptMessage>
AS4ReceiptMessage objects.DEFAULT_MAX_RETRIES, DEFAULT_RETRY_INTERVAL_MS| Constructor and Description |
|---|
AS4ClientReceiptMessage(AS4ResourceHelper aResHelper) |
| Modifier and Type | Method and Description |
|---|---|
AS4ClientBuiltMessage |
buildMessage(String sMessageID,
IAS4ClientBuildMessageCallback aCallback)
Build the AS4 message to be sent.
|
Ebms3UserMessage |
getEbms3UserMessage() |
Node |
getSoapDocument() |
boolean |
isNonRepudiation()
Default value is
false |
boolean |
isReceiptShouldBeSigned() |
AS4ClientReceiptMessage |
setEbms3UserMessage(Ebms3UserMessage aEbms3UserMessage)
Needs to be set to refer to the message which this receipt is the response
and if non-repudiation is not used, to fill the receipt content
|
AS4ClientReceiptMessage |
setNonRepudiation(boolean bNonRepudiation) |
AS4ClientReceiptMessage |
setReceiptShouldBeSigned(boolean bReceiptShouldBeSigned) |
AS4ClientReceiptMessage |
setSoapDocument(Node aSoapDocument)
As node set the usermessage if it is signed, so the references can be
counted and used in non repudiation.
|
anycreateDefaultMessageIDFactory, createMessageID, cryptParams, getAS4CryptoFactory, getAS4ResourceHelper, getMaxRetries, getMessageIDFactory, getRefToMessageID, getRetryIntervalMS, getSoapVersion, hasRefToMessageID, internalCreateCryptoFactory, sendMessageAndGetMicroDocument, sendMessageWithRetries, sendMessageWithRetries, setAS4CryptoFactory, setMaxRetries, setMessageID, setMessageIDFactory, setRefToMessageID, setRetryIntervalMS, setSoapVersion, setValuesFromPMode, signingParamscreateDefaultHttpClientFactory, getHttpClientFactory, getHttpCustomizer, isQuoteHttpHeaders, sendGenericMessage, sendGenericMessageWithRetries, setHttpClientFactory, setHttpCustomizer, setQuoteHttpHeaders, toStringpublic AS4ClientReceiptMessage(@Nonnull @WillNotClose AS4ResourceHelper aResHelper)
public final boolean isNonRepudiation()
false@Nonnull public final AS4ClientReceiptMessage setNonRepudiation(boolean bNonRepudiation)
@Nonnull public final AS4ClientReceiptMessage setSoapDocument(@Nullable Node aSoapDocument)
aSoapDocument - Signed UserMessage@Nullable public final Ebms3UserMessage getEbms3UserMessage()
@Nonnull public final AS4ClientReceiptMessage setEbms3UserMessage(@Nullable Ebms3UserMessage aEbms3UserMessage)
aEbms3UserMessage - UserMessage which this receipt should be the response forpublic final boolean isReceiptShouldBeSigned()
@Nonnull public final AS4ClientReceiptMessage setReceiptShouldBeSigned(boolean bReceiptShouldBeSigned)
public AS4ClientBuiltMessage buildMessage(@Nonnull @Nonempty String sMessageID, @Nullable IAS4ClientBuildMessageCallback aCallback) throws Exception
AbstractAS4ClientbuildMessage in class AbstractAS4Client<AS4ClientReceiptMessage>sMessageID - The message ID to be used. Neither null nor empty.aCallback - Optional callback for in-between states. May be null.null.Exception - in case something goes wrongCopyright © 2015–2020 Philip Helger. All rights reserved.