Uses of Interface
com.helger.phase4.model.pmode.IPMode
Packages that use IPMode
Package
Description
-
Uses of IPMode in com.helger.phase4.client
Methods in com.helger.phase4.client that return IPModeMethods in com.helger.phase4.client with parameters of type IPModeModifier and TypeMethodDescriptionfinal voidThis method should be used if you do not want to set each parameter and have a PMode ready that you wish to use.final voidAS4ClientUserMessage.setUserMessageValuesFromPMode(@NonNull IPMode aPMode, @NonNull PModeLeg aEffectiveLeg) final voidAbstractAS4Client.setValuesFromPMode(@Nullable IPMode aPMode, @Nullable PModeLeg aLeg) -
Uses of IPMode in com.helger.phase4.crypto
Methods in com.helger.phase4.crypto with parameters of type IPModeModifier and TypeMethodDescriptionvoidIAS4PModeAwareCryptoFactory.setContextPMode(@NonNull IPMode pMode) Set the P-Mode in context.
This method is only called on reception side after successful resolving of the P-Mode from the incoming ebms information. -
Uses of IPMode in com.helger.phase4.incoming
Methods in com.helger.phase4.incoming that return IPModeModifier and TypeMethodDescription@Nullable IPModeAS4IncomingMessageState.getPMode()@Nullable IPModeIAS4IncomingMessageState.getPMode()Methods in com.helger.phase4.incoming with parameters of type IPModeModifier and TypeMethodDescriptionstatic @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) voidSet the PMode to be used. -
Uses of IPMode in com.helger.phase4.incoming.soap
Methods in com.helger.phase4.incoming.soap with parameters of type IPModeModifier and TypeMethodDescriptionstatic @NonNull SoapHeaderElementProcessorRegistrySoapHeaderElementProcessorRegistry.createDefault(@NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @Nullable IPMode aFallbackPMode, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration) Constructor parameters in com.helger.phase4.incoming.soap with type arguments of type IPModeModifierConstructorDescriptionSoapHeaderElementProcessorExtractEbms3Messaging(@NonNull IAS4PModeResolver aPModeResolver, @Nullable Consumer<? super IPMode> aPModeConsumer, @NonNull IAS4IncomingReceiverConfiguration aIRC) CtorSoapHeaderElementProcessorWSS4J(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @Nullable Provider aSecurityProviderSignVerify, @NonNull Supplier<? extends IPMode> aFallbackPModeProvider, @Nullable IAS4DecryptParameterModifier aDecryptParameterModifier, @Nullable AS4SigningParams aSigningParams) -
Uses of IPMode in com.helger.phase4.incoming.spi
Methods in com.helger.phase4.incoming.spi that return IPModeModifier and TypeMethodDescription@Nullable IPModeIAS4IncomingPullRequestProcessorSPI.findPMode(@NonNull Ebms3SignalMessage aSignalMessage) Process incoming AS4 signal message and determine the PMode to be used.Methods in com.helger.phase4.incoming.spi with parameters of type IPModeModifier and TypeMethodDescription@NonNull AS4SignalMessageProcessorResultIAS4IncomingMessageProcessorSPI.processAS4SignalMessage(@NonNull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @NonNull com.helger.http.header.HttpHeaderMap aHttpHeaders, @NonNull Ebms3SignalMessage aSignalMessage, @Nullable IPMode aPMode, @NonNull IAS4IncomingMessageState aIncomingState, @NonNull AS4ErrorList aProcessingErrorMessages) Process incoming AS4 signal message - pull-request and receipt.
Attachment and Payload are not needed since they are allowed, but should not be added to a SignalMessage Because the will be ignored in the MSH - Processing.@NonNull AS4MessageProcessorResultIAS4IncomingMessageProcessorSPI.processAS4UserMessage(@NonNull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @NonNull com.helger.http.header.HttpHeaderMap aHttpHeaders, @NonNull Ebms3UserMessage aUserMessage, @NonNull IPMode aPMode, @Nullable Node aPayload, @Nullable com.helger.collection.commons.ICommonsList<WSS4JAttachment> aIncomingAttachments, @NonNull IAS4IncomingMessageState aIncomingState, @NonNull AS4ErrorList aProcessingErrorMessages) Process incoming AS4 user message -
Uses of IPMode in com.helger.phase4.model
Methods in com.helger.phase4.model with parameters of type IPModeModifier and TypeMethodDescriptionstatic booleanAS4Helper.isPingMessage(@Nullable IPMode aPMode) Check if the combination of Action and Service resembles an EBMS Ping (aka test) Message as described in chapter 5.2.2.9. -
Uses of IPMode in com.helger.phase4.model.pmode
Classes in com.helger.phase4.model.pmode that implement IPModeMethods in com.helger.phase4.model.pmode that return IPModeModifier and TypeMethodDescription@Nullable IPModeFind the first PMode matching the provided filter.@Nullable IPModestatic @NonNull IPModeDefaultPMode.getOrCreateDefaultPMode(@NonNull @Nonempty String sInitiatorID, @NonNull @Nonempty String sResponderID, @Nullable String sAddress, boolean bPersist) @Nullable IPModeIPModeManager.getPModeOfID(@Nullable String sID) Find the PMode with the provided ID@Nullable IPModePModeManagerInMemory.getPModeOfID(@Nullable String sID) @Nullable IPModePModeManagerXML.getPModeOfID(@Nullable String sID) default @Nullable IPModeIPModeManager.getPModeOfServiceAndAction(@Nullable String sService, @Nullable String sAction) Find the first PMode that has the provided service and action.Methods in com.helger.phase4.model.pmode that return types with arguments of type IPModeModifier and TypeMethodDescription@NonNull com.helger.collection.commons.ICommonsList<IPMode> IPModeManager.getAll()@NonNull com.helger.collection.commons.ICommonsList<IPMode> PModeManagerInMemory.getAll()IPModeManager.getPModeFilter(@NonNull String sID, @Nullable PModeParty aInitiator, @Nullable PModeParty aResponder) Get a predicate that matches a PMode by ID or initiator and responder together.Methods in com.helger.phase4.model.pmode with parameters of type IPModeModifier and TypeMethodDescriptionstatic @NonNull com.helger.json.IJsonObjectPModeJsonConverter.convertToJson(@NonNull IPMode aValue) @NonNull com.helger.base.state.EChangeIPModeManager.updatePMode(@NonNull IPMode aPMode) Update an existing PMode.@NonNull com.helger.base.state.EChangePModeManagerInMemory.updatePMode(@NonNull IPMode aNewPMode) @NonNull com.helger.base.state.EChangePModeManagerXML.updatePMode(@NonNull IPMode aPMode) default voidIPModeManager.validatePMode(@Nullable IPMode aPMode) Validate, that the provided PMode domain object is consistent according to the underlying requirements.Method parameters in com.helger.phase4.model.pmode with type arguments of type IPMode -
Uses of IPMode in com.helger.phase4.model.pmode.resolve
Methods in com.helger.phase4.model.pmode.resolve that return IPModeModifier and TypeMethodDescriptionprotected @Nullable IPModeAS4DefaultPModeResolver.createDefaultPMode(@NonNull @Nonempty String sInitiatorID, @NonNull @Nonempty String sResponderID, @Nullable String sAddress) @Nullable IPModeAS4DefaultPModeResolver.findPMode(@Nullable String sPModeID, @NonNull String sService, @NonNull String sAction, @NonNull @Nonempty String sInitiatorID, @NonNull @Nonempty String sResponderID, @Nullable String sAgreementRef, @Nullable String sAddress) @Nullable IPModeIAS4PModeResolver.findPMode(@Nullable String sPModeID, @NonNull String sService, @NonNull String sAction, @NonNull @Nonempty String sInitiatorID, @NonNull @Nonempty String sResponderID, @Nullable String sAgreementRef, @Nullable String sAddress) Get the PMode from the passed parameters. -
Uses of IPMode in com.helger.phase4.profile
Methods in com.helger.phase4.profile with parameters of type IPModeModifier and TypeMethodDescriptiondefault voidIAS4ProfileValidator.validatePMode(@NonNull IPMode aPMode, @NonNull com.helger.diagnostics.error.list.ErrorList aErrorList, @NonNull IAS4ProfileValidator.EAS4ProfileValidationMode eValidationMode) Validation a PMode -
Uses of IPMode in com.helger.phase4.sender
Fields in com.helger.phase4.sender declared as IPModeModifier and TypeFieldDescriptionprotected IPModeAbstractAS4PullRequestBuilder.m_aPModeprotected IPModeAbstractAS4UserMessageBuilder.m_aPModeMethods in com.helger.phase4.sender that return IPModeModifier and TypeMethodDescriptionfinal @Nullable IPModeAbstractAS4PullRequestBuilder.pmode()final @Nullable IPModeAbstractAS4UserMessageBuilder.pmode()Methods in com.helger.phase4.sender with parameters of type IPModeModifier and TypeMethodDescriptionfinal @NonNull IMPLTYPESet the PMode to be used.final @NonNull IMPLTYPESet the PMode to be used.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)