Enum Class BindingStyle

java.lang.Object
java.lang.Enum<BindingStyle>
org.apache.camel.component.cxf.jaxrs.BindingStyle
All Implemented Interfaces:
Serializable, Comparable<BindingStyle>, Constable

public enum BindingStyle extends Enum<BindingStyle>
  • Enum Constant Details

    • SimpleConsumer

      public static final BindingStyle SimpleConsumer
      Only available for consumers. This binding style processes request parameters, multiparts, etc. and maps them to IN headers, IN attachments and to the message body. It aims to eliminate low-level processing of MessageContentsList. It also also adds more flexibility and simplicity to the response mapping.
    • Default

      public static final BindingStyle Default
      This is the traditional binding style, which simply dumps the MessageContentsList coming in from the CXF stack onto the IN message body. The user is then responsible for processing it according to the contract defined by the JAX-RS method signature.
    • Custom

      public static final BindingStyle Custom
      A custom binding set by the user.
  • Method Details

    • values

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

      public static BindingStyle valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null