Enum MarshallLocation
- All Implemented Interfaces:
Serializable
,Comparable<MarshallLocation>
Enum representing the various locations data can be marshalled to.
-
Enum Constant Summary
Enum ConstantDescriptionReplace the placeholder in the request URI (greedy).HTTP header.Replace the placeholder in the request URI (non-greedy).Payload of the request (format depends on the protocol/content-type)Add as a query parameter.HTTP status code of response. -
Method Summary
Modifier and TypeMethodDescriptionstatic MarshallLocation
Returns the enum constant of this type with the specified name.static MarshallLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PAYLOAD
Payload of the request (format depends on the protocol/content-type) -
QUERY_PARAM
Add as a query parameter. -
HEADER
HTTP header. -
PATH
Replace the placeholder in the request URI (non-greedy). -
GREEDY_PATH
Replace the placeholder in the request URI (greedy). This location is really the same asPATH
, the only difference is whether it's URL encoded or not. Members bound to thePATH
will be URL encoded before replacing, members bound toGREEDY_PATH
will not be URL encoded. -
STATUS_CODE
HTTP status code of response.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-