public enum ParameterStyle extends Enum<ParameterStyle>
| Enum Constant and Description |
|---|
AUTHORIZATION_HEADER
Send parameters whose names begin with "oauth_" in an HTTP header, and
other parameters (whose names don't begin with "oauth_") in either the
message body or URL query string.
|
BODY
Send all parameters in the message body, with a Content-Type of
application/x-www-form-urlencoded.
|
QUERY_STRING
Send all parameters in the query string part of the URL.
|
| Modifier and Type | Method and Description |
|---|---|
static ParameterStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterStyle AUTHORIZATION_HEADER
public static final ParameterStyle BODY
public static final ParameterStyle QUERY_STRING
public static ParameterStyle[] values()
for (ParameterStyle c : ParameterStyle.values()) System.out.println(c);
public static ParameterStyle 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 2015- Charles R. Severance and licensed CC-BY Attribution 4.0