public enum OAuth2ContentType extends Enum<OAuth2ContentType>
| Enum Constant and Description |
|---|
APPLICATION_JSON
Content Type is: "application/json"
|
URL_ENCODED
Content Type is: "application/x-www-form-urlencoded"
|
| Modifier and Type | Method and Description |
|---|---|
static OAuth2ContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2ContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2ContentType URL_ENCODED
public static final OAuth2ContentType APPLICATION_JSON
public static OAuth2ContentType[] values()
for (OAuth2ContentType c : OAuth2ContentType.values()) System.out.println(c);
public static OAuth2ContentType 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 © 2021–2022 Amazon Web Services. All rights reserved.