public enum ExtraParameters extends Enum<ExtraParameters>
Enum Constant and Description |
---|
CACHE_CONTROL_DIRECTIVE
Sets the
Cache-Control header value, which advises the server (or any cache in front of it)
how to behave in terms of cached requests" |
ENCODE_JSON
Will encode the request to JSON
|
ENCODE_XML
Will encode the request to XML
|
ENCODING_ENUM |
PREFER_RESPONSE_TYPE
Explicitly specify a custom structure type to attempt to use when parsing the response.
|
PREFER_RESPONSE_TYPES
Explicitly specify a custom structure type to attempt to use when parsing the response.
|
PRETTY_PRINT
Pretty print the request
|
SUBSET_ELEMENTS
Request that the server return subsetted resources, containing only the elements specified in the given parameters.
|
SUMMARY_ENUM
Request that the server modify the response using the
_summary param |
Modifier and Type | Method and Description |
---|---|
String |
getHeaderName() |
String |
getParam() |
static ExtraParameters |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtraParameters[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtraParameters ENCODE_JSON
public static final ExtraParameters ENCODE_XML
public static final ExtraParameters CACHE_CONTROL_DIRECTIVE
Cache-Control
header value, which advises the server (or any cache in front of it)
how to behave in terms of cached requests"public static final ExtraParameters SUBSET_ELEMENTS
subsetElements("name", "identifier")
requests that the server only return
the "name" and "identifier" fields in the returned resource, and omit any others.public static final ExtraParameters ENCODING_ENUM
public static final ExtraParameters PREFER_RESPONSE_TYPE
See Profiles and Extensions for more information on using custom structures
public static final ExtraParameters PREFER_RESPONSE_TYPES
See Profiles and Extensions for more information on using custom structures
public static final ExtraParameters PRETTY_PRINT
public static final ExtraParameters SUMMARY_ENUM
_summary
parampublic static ExtraParameters[] values()
for (ExtraParameters c : ExtraParameters.values()) System.out.println(c);
public static ExtraParameters 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 nullpublic String getParam()
public String getHeaderName()
Apache Camel