Enum ProtocolVariation

java.lang.Object
java.lang.Enum<ProtocolVariation>
org.apache.cxf.ws.rm.ProtocolVariation
All Implemented Interfaces:
Serializable, Comparable<ProtocolVariation>, java.lang.constant.Constable

public enum ProtocolVariation extends Enum<ProtocolVariation>
Supported protocol variations.
  • Enum Constant Details

  • Method Details

    • values

      public static ProtocolVariation[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ProtocolVariation valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getCodec

      public EncoderDecoder getCodec()
    • getConstants

      public RMConstants getConstants()
    • getWSRMNamespace

      public String getWSRMNamespace()
    • getWSANamespace

      public String getWSANamespace()
    • findVariant

      public static ProtocolVariation findVariant(String wsrm, String wsa)
      Get the information for a supported version of WS-ReliableMessaging and WS-Addressing. If the WS-A namespace is not specified this just returns the first match on the WS-RM namespace, which should always be the default.
      Parameters:
      wsrm - WS-RM namespace URI
      wsa - WS-A namespace URI (null if not specified)
      Returns:
      variant (null if not a supported version)