Enum Class ExtraParameters
- All Implemented Interfaces:
Serializable,Comparable<ExtraParameters>,Constable
Encapsulates a list of extra parameters that are valid for all Camel FHIR APIs.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSets theCache-Controlheader value, which advises the server (or any cache in front of it) how to behave in terms of cached requests"Will encode the request to JSONWill encode the request to XMLExplicitly specify a custom structure type to attempt to use when parsing the response.Explicitly specify a custom structure type to attempt to use when parsing the response.Pretty print the requestRequest that the server return subsetted resources, containing only the elements specified in the given parameters.Request that the server modify the response using the_summaryparam -
Method Summary
Modifier and TypeMethodDescriptiongetParam()static ExtraParametersReturns the enum constant of this class with the specified name.static ExtraParameters[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENCODE_JSON
Will encode the request to JSON -
ENCODE_XML
Will encode the request to XML -
CACHE_CONTROL_DIRECTIVE
Sets theCache-Controlheader value, which advises the server (or any cache in front of it) how to behave in terms of cached requests" -
SUBSET_ELEMENTS
Request that the server return subsetted resources, containing only the elements specified in the given parameters. For example:subsetElements("name", "identifier")requests that the server only return the "name" and "identifier" fields in the returned resource, and omit any others. -
ENCODING_ENUM
-
PREFER_RESPONSE_TYPE
Explicitly specify a custom structure type to attempt to use when parsing the response. This is useful for invocations where the response is a Bundle/Parameters containing nested resources, and you want to use specific custom structures for those nested resources.See Profiles and Extensions for more information on using custom structures
-
PREFER_RESPONSE_TYPES
Explicitly specify a custom structure type to attempt to use when parsing the response. This is useful for invocations where the response is a Bundle/Parameters containing nested resources, and you want to use specific custom structures for those nested resources.See Profiles and Extensions for more information on using custom structures
-
PRETTY_PRINT
Pretty print the request -
SUMMARY_ENUM
Request that the server modify the response using the_summaryparam
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getParam
-
getHeaderName
-