public enum MarshallLocation extends Enum<MarshallLocation>
Enum Constant and Description |
---|
GREEDY_PATH
Replace the placeholder in the request URI (greedy).
|
HEADER
HTTP header.
|
PATH
Replace the placeholder in the request URI (non-greedy).
|
PAYLOAD
Payload of the request (format depends on the protocol/content-type)
|
QUERY_PARAM
Add as a query parameter.
|
Modifier and Type | Method and Description |
---|---|
static MarshallLocation |
valueOf(String name)
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.
|
public static final MarshallLocation PAYLOAD
public static final MarshallLocation QUERY_PARAM
public static final MarshallLocation HEADER
public static final MarshallLocation PATH
public static final MarshallLocation GREEDY_PATH
PATH
,
the only difference is whether it's URL encoded or not. Members bound to the PATH
will be URL
encoded before replacing, members bound to GREEDY_PATH
will not be URL encoded.public static MarshallLocation[] values()
for (MarshallLocation c : MarshallLocation.values()) System.out.println(c);
public static MarshallLocation 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 nullCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.