Uses of Class
com.helger.phase4.util.Phase4Exception
Packages that use Phase4Exception
Package
Description
-
Uses of Phase4Exception in com.helger.phase4.dump
Methods in com.helger.phase4.dump that throw Phase4ExceptionModifier and TypeMethodDescriptionstatic voidAS4DumpReader.decryptAS4In(@NonNull @Nonempty String sAS4ProfileID, byte @NonNull [] aAS4InData, @NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @Nullable Consumer<com.helger.http.header.HttpHeaderMap> aHttpHeaderConsumer, @NonNull AS4DumpReader.IDecryptedPayloadConsumer aDecryptedConsumer) Utility method to decrypt dumped .as4in message late.
Note: this method was mainly created for internal use and does not win the prize for the most sexy piece of software in the world ;-)voidAS4RawResponseConsumerWriteToFile.handleResponse(@NonNull AS4ClientSentMessage<byte[]> aResponseEntity) -
Uses of Phase4Exception in com.helger.phase4.incoming
Methods in com.helger.phase4.incoming that throw Phase4ExceptionModifier and TypeMethodDescriptionvoidAS4IncomingHandler.IAS4ParsedMessageCallback.handle(@NonNull com.helger.http.header.HttpHeaderMap aHttpHeaders, @NonNull Document aSoapDocument, @NonNull ESoapVersion eSoapVersion, @NonNull com.helger.collection.commons.ICommonsList<WSS4JAttachment> aIncomingAttachments) Callback methodvoidAS4RequestHandler.handleRequest(@NonNull InputStream aRequestInputStream, @NonNull com.helger.http.header.HttpHeaderMap aRequestHttpHeaders, @NonNull IAS4ResponseAbstraction aHttpResponse) This is the main handling routine when called from an abstract (non-Servlet) APIvoidIAS4SignalMessageConsumer.handleSignalMessage(@NonNull Ebms3SignalMessage aEbmsSignalMsg, @NonNull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @NonNull IAS4IncomingMessageState aIncomingState) Handling an EBMS 3 Signal Message.voidIAS4UserMessageConsumer.handleUserMessage(@NonNull Ebms3UserMessage aEbmsUserMsg, @NonNull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @NonNull IAS4IncomingMessageState aIncomingState) Handling an EBMS 3 User Message.static voidAS4IncomingHandler.parseAS4Message(@NonNull IAS4IncomingAttachmentFactory aIAF, @NonNull AS4ResourceHelper aResHelper, @NonNull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @NonNull InputStream aPayloadIS, @NonNull com.helger.http.header.HttpHeaderMap aHttpHeaders, @NonNull AS4IncomingHandler.IAS4ParsedMessageCallback aParsedMessageCallback, @Nullable IAS4IncomingDumper aIncomingDumper) static @Nullable Ebms3SignalMessageAS4IncomingHandler.parseSignalMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4IncomingAttachmentFactory aIAF, @NonNull IAS4IncomingProfileSelector aAS4ProfileSelector, @NonNull AS4ResourceHelper aResHelper, @Nullable IPMode aSendingPMode, @NonNull Locale aLocale, @NonNull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @NonNull org.apache.hc.core5.http.HttpResponse aHttpResponse, byte @NonNull [] aMessagePayload, @Nullable IAS4IncomingDumper aIncomingDumper, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, @Nullable IAS4SignalMessageConsumer aSignalMsgConsumer) static @Nullable Ebms3UserMessageAS4IncomingHandler.parseUserMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4IncomingAttachmentFactory aIAF, @NonNull IAS4IncomingProfileSelector aAS4ProfileSelector, @NonNull AS4ResourceHelper aResHelper, @Nullable IPMode aSendingPMode, @NonNull Locale aLocale, @NonNull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @NonNull org.apache.hc.core5.http.HttpResponse aHttpResponse, byte @NonNull [] aMessagePayload, @Nullable IAS4IncomingDumper aIncomingDumper, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, @Nullable IAS4UserMessageConsumer aUserMsgConsumer) static @NonNull com.helger.base.state.ESuccessAS4IncomingHandler.parseUserOrSignalMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4IncomingAttachmentFactory aIAF, @NonNull IAS4IncomingProfileSelector aAS4ProfileSelector, @NonNull AS4ResourceHelper aResHelper, @Nullable IPMode aSendingPMode, @NonNull Locale aLocale, @NonNull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @NonNull org.apache.hc.core5.http.HttpResponse aHttpResponse, byte @NonNull [] aMessagePayload, @Nullable IAS4IncomingDumper aIncomingDumper, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, @Nullable IAS4UserMessageConsumer aUserMsgConsumer, @Nullable IAS4SignalMessageConsumer aSignalMsgConsumer) static @NonNull IAS4IncomingMessageStateAS4IncomingHandler.processEbmsMessage(@NonNull AS4ResourceHelper aResHelper, @NonNull Locale aLocale, @NonNull SoapHeaderElementProcessorRegistry aRegistry, @NonNull com.helger.http.header.HttpHeaderMap aHttpHeaders, @NonNull Document aSoapDocument, @NonNull ESoapVersion eSoapVersion, @NonNull com.helger.collection.commons.ICommonsList<WSS4JAttachment> aIncomingAttachments, @NonNull IAS4IncomingProfileSelector aAS4ProfileSelector, @NonNull AS4ErrorList aEbmsErrorMessagesTarget, @NonNull IAS4IncomingMessageMetadata aMessageMetadata) -
Uses of Phase4Exception in com.helger.phase4.mgr
Methods in com.helger.phase4.mgr that throw Phase4ExceptionModifier and TypeMethodDescription@NonNull IAS4DuplicateManagerAS4ManagerFactoryPersistingFileSystem.createDuplicateManager()@NonNull IAS4DuplicateManagerIAS4ManagerFactory.createDuplicateManager()@NonNull IMPCManagerAS4ManagerFactoryPersistingFileSystem.createMPCManager()@NonNull IMPCManagerIAS4ManagerFactory.createMPCManager()@NonNull IPModeManagerAS4ManagerFactoryPersistingFileSystem.createPModeManager()@NonNull IPModeManagerIAS4ManagerFactory.createPModeManager()@NonNull IAS4ProfileManagerIAS4ManagerFactory.createProfileManager() -
Uses of Phase4Exception in com.helger.phase4.model.pmode
Subclasses of Phase4Exception in com.helger.phase4.model.pmodeModifier and TypeClassDescriptionclassA special exception thrown in PMode validation. -
Uses of Phase4Exception in com.helger.phase4.sender
Method parameters in com.helger.phase4.sender with type arguments of type Phase4ExceptionModifier and TypeMethodDescriptionfinal @NonNull EAS4UserMessageSendResultAbstractAS4UserMessageBuilder.sendMessageAndCheckForReceipt(@Nullable Consumer<? super Phase4Exception> aExceptionConsumer) This is a sanity method that encapsulates all the sending checks that are necessary to determine overall sending success or error.
Note: this method is not thread-safe, because it changes the signal message consumer internally.Methods in com.helger.phase4.sender that throw Phase4ExceptionModifier and TypeMethodDescriptionprotected voidAbstractAS4MessageBuilder.customizeBeforeSending()Internal method that is invoked after the required fields are checked but before sending takes place.protected com.helger.base.state.ESuccessAbstractAS4MessageBuilder.finishFields(@NonNull AS4ResourceHelper aResHelper) Internal method that is invoked before the required field check is performed.protected @NonNull com.helger.base.state.ESuccessAbstractAS4PullRequestBuilder.finishFields(@NonNull AS4ResourceHelper aResHelper) protected @NonNull com.helger.base.state.ESuccessAbstractAS4UserMessageBuilder.finishFields(@NonNull AS4ResourceHelper aResHelper) voidIAS4RawResponseConsumer.handleResponse(@NonNull AS4ClientSentMessage<byte[]> aResponseMsg) Handling a HTTP responsevoidValidatingAS4SignalMsgConsumer.handleSignalMessage(@NonNull Ebms3SignalMessage aEbmsSignalMsg, @NonNull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @NonNull IAS4IncomingMessageState aIncomingState) protected abstract voidAbstractAS4MessageBuilder.mainSendMessage()Synchronously send the AS4 message.protected final voidAbstractAS4PullRequestBuilder.mainSendMessage()protected final voidAbstractAS4UserMessageBuilderMIMEPayload.mainSendMessage()static voidAS4BidirectionalClientHelper.sendAS4PullRequestAndReceiveAS4UserMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4IncomingAttachmentFactory aIAF, @NonNull IAS4IncomingProfileSelector aIncomingProfileSelector, @NonNull AS4ClientPullRequestMessage aClientPullRequest, @NonNull Locale aLocale, @NonNull String sURL, @Nullable IAS4ClientBuildMessageCallback aBuildMessageCallback, @Nullable IAS4OutgoingDumper aOutgoingDumper, @Nullable IAS4IncomingDumper aIncomingDumper, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, @Nullable IAS4RetryCallback aRetryCallback, @Nullable IAS4RawResponseConsumer aResponseConsumer, @Nullable IAS4UserMessageConsumer aUserMsgConsumer, @Nullable IPMode aPMode) static voidAS4BidirectionalClientHelper.sendAS4PullRequestAndReceiveAS4UserOrSignalMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4IncomingAttachmentFactory aIAF, @NonNull IAS4IncomingProfileSelector aIncomingProfileSelector, @NonNull AS4ClientPullRequestMessage aClientPullRequest, @NonNull Locale aLocale, @NonNull String sURL, @Nullable IAS4ClientBuildMessageCallback aBuildMessageCallback, @Nullable IAS4OutgoingDumper aOutgoingDumper, @Nullable IAS4IncomingDumper aIncomingDumper, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, @Nullable IAS4RetryCallback aRetryCallback, @Nullable IAS4RawResponseConsumer aResponseConsumer, @Nullable IAS4UserMessageConsumer aUserMsgConsumer, @Nullable IAS4SignalMessageConsumer aSignalMsgConsumer, @Nullable IAS4SignalMessageValidationResultHandler aSignalMsgValidationResultHandler, @Nullable IPMode aPMode) static voidAS4BidirectionalClientHelper.sendAS4UserMessageAndReceiveAS4SignalMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4IncomingAttachmentFactory aIAF, @NonNull IAS4IncomingProfileSelector aIncomingProfileSelector, @NonNull AS4ClientUserMessage aClientUserMsg, @NonNull Locale aLocale, @NonNull String sURL, @Nullable IAS4ClientBuildMessageCallback aBuildMessageCallback, @Nullable IAS4OutgoingDumper aOutgoingDumper, @Nullable IAS4IncomingDumper aIncomingDumper, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, @Nullable IAS4RetryCallback aRetryCallback, @Nullable IAS4RawResponseConsumer aRawResponseConsumer, @Nullable IAS4SignalMessageConsumer aSignalMsgConsumer, @Nullable IAS4SignalMessageValidationResultHandler aSignalMsgValidationResultHandler) final @NonNull com.helger.base.state.ESuccessAbstractAS4MessageBuilder.sendMessage()Synchronously send the AS4 message. -
Uses of Phase4Exception in com.helger.phase4.util
Subclasses of Phase4Exception in com.helger.phase4.utilModifier and TypeClassDescriptionclassSpecial phase4 incoming exception for inbound errors.Methods in com.helger.phase4.util that return Phase4ExceptionModifier and TypeMethodDescriptionfinal @NonNull Phase4ExceptionPhase4Exception.setRetryFeasible(boolean b) Set whether a retry might be feasible or not.