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.

@FunctionalInterface public interface IAS4PModeResolver
Resolve PMode from ID
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    findPMode(String sPModeID, String sService, String sAction, String sInitiatorID, String sResponderID, String sAgreementRef, String sAddress)
    Get the PMode from the passed parameters.
  • 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 be null.
      sService - The service as specified in the EBMS CollaborationInformation. May not be null.
      sAction - The action as specified in the EBMS CollaborationInformation. May not be null.
      sInitiatorID - Initiator ID from user message. May neither be null nor empty.
      sResponderID - Responder ID from user message. May neither be null nor empty.
      sAgreementRef - The agreement reference from the user message. May be null.
      sAddress - Endpoint address. May be null.
      Returns:
      null if resolution failed.