Package com.helger.phase4.incoming.spi
Class AS4SignalMessageProcessorResult
java.lang.Object
com.helger.phase4.incoming.spi.AS4MessageProcessorResult
com.helger.phase4.incoming.spi.AS4SignalMessageProcessorResult
- All Implemented Interfaces:
com.helger.commons.state.ISuccessIndicator
This class represents the result of a message processor SPI
implementation.
Note: cannot be serializable because WSS4JAttachment is not serializable
Note: cannot be serializable because WSS4JAttachment is not serializable
- Author:
- Philip Helger
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAS4SignalMessageProcessorResult(com.helger.commons.state.ESuccess eSuccess, com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> aAttachments, String sAsyncResponseURL, Ebms3UserMessage aPullReturnUserMessage) -
Method Summary
Modifier and TypeMethodDescriptioncreateSuccess(com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> aAttachments, String sAsyncResponseURL, Ebms3UserMessage aPullReturnUserMessage) toString()Methods inherited from class com.helger.phase4.incoming.spi.AS4MessageProcessorResult
addAllAttachmentsTo, createSuccessExt, getAllAttachments, getAsyncResponseURL, hasAsyncResponseURL, hasAttachments, isSuccessMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.commons.state.ISuccessIndicator
and, isFailure, or
-
Constructor Details
-
AS4SignalMessageProcessorResult
protected AS4SignalMessageProcessorResult(@Nonnull com.helger.commons.state.ESuccess eSuccess, @Nullable com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> aAttachments, @Nullable String sAsyncResponseURL, @Nullable Ebms3UserMessage aPullReturnUserMessage) - Parameters:
eSuccess- Success or failure. May not benull.aAttachments- The response attachments. May benull.sAsyncResponseURL- The asynchronous response URLs. May benull.aPullReturnUserMessage- The user message to return. May benull.
-
-
Method Details
-
getPullReturnUserMessage
- Returns:
- Optional response user message for all "pull" based SPI
invocations. May be
null.
-
toString
- Overrides:
toStringin classAS4MessageProcessorResult
-
createSuccess
-
createSuccess
@Nonnull public static AS4SignalMessageProcessorResult createSuccess(@Nullable com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> aAttachments, @Nullable String sAsyncResponseURL, @Nullable Ebms3UserMessage aPullReturnUserMessage) -
createFailure
-