Uses of Class
com.helger.phase4.util.Phase4Exception
Packages that use Phase4Exception
Package
Description
-
Uses of Phase4Exception in com.helger.phase4.client
Methods in com.helger.phase4.client that throw Phase4ExceptionModifier and TypeMethodDescriptionvoidIAS4RawResponseConsumer.handleResponse(AS4ClientSentMessage<byte[]> aResponseMsg) Handling a HTTP responsevoidIAS4SignalMessageConsumer.handleSignalMessage(Ebms3SignalMessage aSignalMsg, IAS4IncomingMessageMetadata aMessageMetadata, IAS4MessageState aState) Handling an EBMS 3 Signal MessagevoidIAS4UserMessageConsumer.handleUserMessage(Ebms3UserMessage aUserMsg, IAS4IncomingMessageMetadata aMessageMetadata, IAS4MessageState aState) Handling an EBMS 3 User Message -
Uses of Phase4Exception in com.helger.phase4.dump
Methods in com.helger.phase4.dump that throw Phase4ExceptionModifier and TypeMethodDescriptionstatic voidAS4DumpReader.decryptAS4In(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 ;-)static voidAS4DumpReader.decryptAS4In(byte[] aAS4InData, IAS4CryptoFactory aCryptoFactory, Consumer<com.helger.commons.http.HttpHeaderMap> aHttpHeaderConsumer, AS4DumpReader.IDecryptedPayloadConsumer aDecryptedConsumer) Deprecated, for removal: This API element is subject to removal in a future version.voidAS4RawResponseConsumerWriteToFile.handleResponse(AS4ClientSentMessage<byte[]> aResponseEntity) -
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 abstract voidAbstractAS4MessageBuilder.mainSendMessage()Synchronously send the AS4 message.protected final voidAbstractAS4PullRequestBuilder.mainSendMessage()protected final voidAbstractAS4UserMessageBuilderMIMEPayload.mainSendMessage()static voidAS4BidirectionalClientHelper.sendAS4PullRequestAndReceiveAS4UserMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IPModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aIncomingProfileSelector, AS4ClientPullRequestMessage aClientPullRequest, Locale aLocale, String sURL, IAS4ClientBuildMessageCallback aBuildMessageCallback, IAS4OutgoingDumper aOutgoingDumper, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4RetryCallback aRetryCallback, IAS4RawResponseConsumer aResponseConsumer, IAS4UserMessageConsumer aUserMsgConsumer) static voidAS4BidirectionalClientHelper.sendAS4UserMessageAndReceiveAS4SignalMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IPModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aIncomingProfileSelector, AS4ClientUserMessage aClientUserMsg, Locale aLocale, String sURL, IAS4ClientBuildMessageCallback aBuildMessageCallback, IAS4OutgoingDumper aOutgoingDumper, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4RetryCallback aRetryCallback, IAS4RawResponseConsumer aRawResponseConsumer, IAS4SignalMessageConsumer aSignalMsgConsumer) final com.helger.commons.state.ESuccessAbstractAS4MessageBuilder.sendMessage()Synchronously send the AS4 message. -
Uses of Phase4Exception in com.helger.phase4.servlet
Methods in com.helger.phase4.servlet 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(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, AS4UnifiedResponse aHttpResponse) This is the main handling routine when called from the Servlet APIvoidAS4RequestHandler.handleRequest(InputStream aServletRequestIS, com.helger.commons.http.HttpHeaderMap aRequestHttpHeaders, IAS4ResponseAbstraction aHttpResponse) This is the main handling routine when called from an abstract (non-Servlet) APIstatic voidAS4IncomingHandler.parseAS4Message(IAS4IncomingAttachmentFactory aIAF, AS4ResourceHelper aResHelper, IAS4IncomingMessageMetadata aMessageMetadata, InputStream aPayloadIS, com.helger.commons.http.HttpHeaderMap aHttpHeaders, AS4IncomingHandler.IAS4ParsedMessageCallback aCallback, IAS4IncomingDumper aIncomingDumper) static Ebms3SignalMessageAS4IncomingHandler.parseSignalMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IPModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aAS4ProfileSelector, AS4ResourceHelper aResHelper, IPMode aSendingPMode, Locale aLocale, IAS4IncomingMessageMetadata aMessageMetadata, org.apache.hc.core5.http.HttpResponse aHttpResponse, byte[] aResponsePayload, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4SignalMessageConsumer aSignalMsgConsumer) static Ebms3UserMessageAS4IncomingHandler.parseUserMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IPModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aAS4ProfileSelector, AS4ResourceHelper aResHelper, IPMode aSendingPMode, Locale aLocale, IAS4IncomingMessageMetadata aMessageMetadata, org.apache.hc.core5.http.HttpResponse aHttpResponse, byte[] aResponsePayload, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4UserMessageConsumer aUserMsgConsumer) static IAS4MessageStateAS4IncomingHandler.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)