public static enum CxfRsEndpoint.BindingStyle extends Enum<CxfRsEndpoint.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 CxfRsEndpoint.BindingStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CxfRsEndpoint.BindingStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CxfRsEndpoint.BindingStyle SimpleConsumer
MessageContentsList
.
It also also adds more flexibility and simplicity to the response mapping.public static final CxfRsEndpoint.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 CxfRsEndpoint.BindingStyle Custom
public static CxfRsEndpoint.BindingStyle[] values()
for (CxfRsEndpoint.BindingStyle c : CxfRsEndpoint.BindingStyle.values()) System.out.println(c);
public static CxfRsEndpoint.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