Class AS4ProfileSelector

java.lang.Object
com.helger.phase4.servlet.mgr.AS4ProfileSelector

@ThreadSafe public final class AS4ProfileSelector extends Object
Static helper class to make the AS4 profile selection more deterministic and flexible.
Since:
0.9.13
Author:
Philip Helger
  • Method Details

    • getCustomAS4ProfileID

      @Nullable public static String getCustomAS4ProfileID()
    • setCustomAS4ProfileID

      public static void setCustomAS4ProfileID(@Nullable String sAS4ProfileID)
    • getAS4ProfileID

      @Nullable public static String getAS4ProfileID()
      Get the AS4 profile ID to be used in the following order:
      1. From getCustomAS4ProfileID()
      2. from the configuration properties
      3. from the current IAS4ProfileManager (since v2.3.0)
      Returns:
      The AS4 profile ID to be used. May be null.