Interface IAS4PModeResolver
- All Known Implementing Classes:
AS4DefaultPModeResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Resolve PMode from ID
- Author:
- Philip Helger
-
Method Summary
-
Method Details
-
findPMode
@Nullable IPMode 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.- Parameters:
sPModeID- The direct PMode ID to be resolved. May benull.sService- The service as specified in the EBMS CollaborationInformation. May not benull.sAction- The action as specified in the EBMS CollaborationInformation. May not benull.sInitiatorID- Initiator ID from user message. May neither benullnor empty.sResponderID- Responder ID from user message. May neither benullnor empty.sAgreementRef- The agreement reference from the user message. May benull.sAddress- Endpoint address. May benull.- Returns:
nullif resolution failed.
-