Package com.helger.phase4.servlet.spi
Class AS4SignalMessageProcessorResult
java.lang.Object
com.helger.phase4.servlet.spi.AS4MessageProcessorResult
com.helger.phase4.servlet.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, String sErrorMsg, com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> aAttachments, String sAsyncResponseURL, Ebms3UserMessage aPullReturnUserMessage) -
Method Summary
Modifier and TypeMethodDescriptioncreateFailure(String sErrorMsg) Deprecated, for removal: This API element is subject to removal in a future version.createSuccess(com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> aAttachments, String sAsyncResponseURL, Ebms3UserMessage aPullReturnUserMessage) toString()Methods inherited from class com.helger.phase4.servlet.spi.AS4MessageProcessorResult
addAllAttachmentsTo, createSuccessExt, getAllAttachments, getAsyncResponseURL, getErrorMessage, hasAsyncResponseURL, hasAttachments, hasErrorMessage, 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 String sErrorMsg, @Nullable com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> aAttachments, @Nullable String sAsyncResponseURL, @Nullable Ebms3UserMessage aPullReturnUserMessage) - Parameters:
eSuccess- Success or failure. May not benull.sErrorMsg- The error message to use. May 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
@Nonnull @Deprecated(forRemoval=true, since="2.3.0") public static AS4SignalMessageProcessorResult createFailure(@Nonnull String sErrorMsg) Deprecated, for removal: This API element is subject to removal in a future version. -
createFailure
-