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(String sAS4ProfileID, byte[] aAS4InData, IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, Consumer<com.helger.commons.http.HttpHeaderMap> aHttpHeaderConsumer, 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(AS4ClientSentMessage<byte[]> aResponseEntity) -
Uses of Phase4Exception in com.helger.phase4.incoming
Methods in com.helger.phase4.incoming that throw Phase4ExceptionModifier and TypeMethodDescriptionvoidAS4IncomingHandler.IAS4ParsedMessageCallback.handle(com.helger.commons.http.HttpHeaderMap aHttpHeaders, Document aSoapDocument, ESoapVersion eSoapVersion, com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> aIncomingAttachments) Callback methodvoidAS4RequestHandler.handleRequest(InputStream aRequestInputStream, com.helger.commons.http.HttpHeaderMap aRequestHttpHeaders, IAS4ResponseAbstraction aHttpResponse) This is the main handling routine when called from an abstract (non-Servlet) APIvoidIAS4SignalMessageConsumer.handleSignalMessage(Ebms3SignalMessage aEbmsSignalMsg, IAS4IncomingMessageMetadata aIncomingMessageMetadata, IAS4IncomingMessageState aIncomingState) Handling an EBMS 3 Signal Message.voidIAS4UserMessageConsumer.handleUserMessage(Ebms3UserMessage aEbmsUserMsg, IAS4IncomingMessageMetadata aIncomingMessageMetadata, IAS4IncomingMessageState aIncomingState) Handling an EBMS 3 User Message.static voidAS4IncomingHandler.parseAS4Message(IAS4IncomingAttachmentFactory aIAF, AS4ResourceHelper aResHelper, IAS4IncomingMessageMetadata aIncomingMessageMetadata, InputStream aPayloadIS, com.helger.commons.http.HttpHeaderMap aHttpHeaders, AS4IncomingHandler.IAS4ParsedMessageCallback aCallback, IAS4IncomingDumper aIncomingDumper) static Ebms3SignalMessageAS4IncomingHandler.parseSignalMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IAS4PModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aAS4ProfileSelector, AS4ResourceHelper aResHelper, IPMode aSendingPMode, Locale aLocale, IAS4IncomingMessageMetadata aIncomingMessageMetadata, org.apache.hc.core5.http.HttpResponse aHttpResponse, byte[] aMessagePayload, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, IAS4SignalMessageConsumer aSignalMsgConsumer) static Ebms3UserMessageAS4IncomingHandler.parseUserMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IAS4PModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aAS4ProfileSelector, AS4ResourceHelper aResHelper, IPMode aSendingPMode, Locale aLocale, IAS4IncomingMessageMetadata aIncomingMessageMetadata, org.apache.hc.core5.http.HttpResponse aHttpResponse, byte[] aMessagePayload, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, IAS4UserMessageConsumer aUserMsgConsumer) static com.helger.commons.state.ESuccessAS4IncomingHandler.parseUserOrSignalMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IAS4PModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aAS4ProfileSelector, AS4ResourceHelper aResHelper, IPMode aSendingPMode, Locale aLocale, IAS4IncomingMessageMetadata aIncomingMessageMetadata, org.apache.hc.core5.http.HttpResponse aHttpResponse, byte[] aMessagePayload, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, IAS4UserMessageConsumer aUserMsgConsumer, IAS4SignalMessageConsumer aSignalMsgConsumer) static IAS4IncomingMessageStateAS4IncomingHandler.processEbmsMessage(AS4ResourceHelper aResHelper, Locale aLocale, SoapHeaderElementProcessorRegistry aRegistry, com.helger.commons.http.HttpHeaderMap aHttpHeaders, Document aSoapDocument, ESoapVersion eSoapVersion, com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> aIncomingAttachments, IAS4IncomingProfileSelector aAS4ProfileSelector, com.helger.commons.collection.impl.ICommonsList<Ebms3Error> aEbmsErrorMessagesTarget, IAS4IncomingMessageMetadata aMessageMetadata) -
Uses of Phase4Exception in com.helger.phase4.mgr
Methods in com.helger.phase4.mgr that throw Phase4ExceptionModifier and TypeMethodDescriptionAS4ManagerFactoryPersistingFileSystem.createDuplicateManager()IAS4ManagerFactory.createDuplicateManager()AS4ManagerFactoryPersistingFileSystem.createMPCManager()IAS4ManagerFactory.createMPCManager()AS4ManagerFactoryPersistingFileSystem.createPModeManager()IAS4ManagerFactory.createPModeManager()IAS4ManagerFactory.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 TypeMethodDescriptionAbstractAS4UserMessageBuilder.sendMessageAndCheckForReceipt(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.commons.state.ESuccessAbstractAS4MessageBuilder.finishFields()Internal method that is invoked before the required field check is performed.protected com.helger.commons.state.ESuccessAbstractAS4PullRequestBuilder.finishFields()protected com.helger.commons.state.ESuccessAbstractAS4UserMessageBuilder.finishFields()voidIAS4RawResponseConsumer.handleResponse(AS4ClientSentMessage<byte[]> aResponseMsg) Handling a HTTP responsevoidValidatingAS4SignalMsgConsumer.handleSignalMessage(Ebms3SignalMessage aEbmsSignalMsg, IAS4IncomingMessageMetadata aIncomingMessageMetadata, IAS4IncomingMessageState aIncomingState) protected abstract voidAbstractAS4MessageBuilder.mainSendMessage()Synchronously send the AS4 message.protected final voidAbstractAS4PullRequestBuilder.mainSendMessage()protected final voidAbstractAS4UserMessageBuilderMIMEPayload.mainSendMessage()static voidAS4BidirectionalClientHelper.sendAS4PullRequestAndReceiveAS4UserMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IAS4PModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aIncomingProfileSelector, AS4ClientPullRequestMessage aClientPullRequest, Locale aLocale, String sURL, IAS4ClientBuildMessageCallback aBuildMessageCallback, IAS4OutgoingDumper aOutgoingDumper, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, IAS4RetryCallback aRetryCallback, IAS4RawResponseConsumer aResponseConsumer, IAS4UserMessageConsumer aUserMsgConsumer, IPMode aPMode) static voidAS4BidirectionalClientHelper.sendAS4PullRequestAndReceiveAS4UserOrSignalMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IAS4PModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aIncomingProfileSelector, AS4ClientPullRequestMessage aClientPullRequest, Locale aLocale, String sURL, IAS4ClientBuildMessageCallback aBuildMessageCallback, IAS4OutgoingDumper aOutgoingDumper, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, IAS4RetryCallback aRetryCallback, IAS4RawResponseConsumer aResponseConsumer, IAS4UserMessageConsumer aUserMsgConsumer, IAS4SignalMessageConsumer aSignalMsgConsumer, IAS4SignalMessageValidationResultHandler aSignalMsgValidationResultHandler, IPMode aPMode) static voidAS4BidirectionalClientHelper.sendAS4UserMessageAndReceiveAS4SignalMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IAS4PModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aIncomingProfileSelector, AS4ClientUserMessage aClientUserMsg, Locale aLocale, String sURL, IAS4ClientBuildMessageCallback aBuildMessageCallback, IAS4OutgoingDumper aOutgoingDumper, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, IAS4RetryCallback aRetryCallback, IAS4RawResponseConsumer aRawResponseConsumer, IAS4SignalMessageConsumer aSignalMsgConsumer, IAS4SignalMessageValidationResultHandler aSignalMsgValidationResultHandler) final com.helger.commons.state.ESuccessAbstractAS4MessageBuilder.sendMessage()Synchronously send the AS4 message.