Enum RestEndpointBuilderFactory.RestBindingMode
- java.lang.Object
-
- java.lang.Enum<RestEndpointBuilderFactory.RestBindingMode>
-
- org.apache.camel.builder.endpoint.dsl.RestEndpointBuilderFactory.RestBindingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<RestEndpointBuilderFactory.RestBindingMode>
- Enclosing interface:
- RestEndpointBuilderFactory
public static enum RestEndpointBuilderFactory.RestBindingMode extends Enum<RestEndpointBuilderFactory.RestBindingMode>
Proxy enum fororg.apache.camel.spi.RestConfiguration$RestBindingMode
enum.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RestEndpointBuilderFactory.RestBindingMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static RestEndpointBuilderFactory.RestBindingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
auto
public static final RestEndpointBuilderFactory.RestBindingMode auto
-
off
public static final RestEndpointBuilderFactory.RestBindingMode off
-
json
public static final RestEndpointBuilderFactory.RestBindingMode json
-
xml
public static final RestEndpointBuilderFactory.RestBindingMode xml
-
json_xml
public static final RestEndpointBuilderFactory.RestBindingMode json_xml
-
-
Method Detail
-
values
public static RestEndpointBuilderFactory.RestBindingMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RestEndpointBuilderFactory.RestBindingMode c : RestEndpointBuilderFactory.RestBindingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RestEndpointBuilderFactory.RestBindingMode 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 nameNullPointerException
- if the argument is null
-
-