public enum BindingStyle extends Enum<BindingStyle>
Enum Constant and Description |
---|
Custom
A custom binding set by the user.
|
Default
This is the traditional binding style, which simply dumps the
MessageContentsList coming in from the CXF stack
onto the IN message body. |
SimpleConsumer
Only available for consumers.
This binding style processes request parameters, multiparts, etc.
|
Modifier and Type | Method and Description |
---|---|
static BindingStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BindingStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BindingStyle SimpleConsumer
MessageContentsList
.
It also also adds more flexibility and simplicity to the response mapping.public static final BindingStyle Default
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.public static final BindingStyle Custom
public static BindingStyle[] values()
for (BindingStyle c : BindingStyle.values()) System.out.println(c);
public static BindingStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullApache Camel