public static enum OAuth2Client.Flow extends Enum<OAuth2Client.Flow>
| Enum Constant and Description |
|---|
AUTHORIZATION_CODE |
CLIENT_CREDENTIALS |
IMPLICIT |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static OAuth2Client.Flow |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2Client.Flow[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2Client.Flow CLIENT_CREDENTIALS
public static final OAuth2Client.Flow AUTHORIZATION_CODE
public static final OAuth2Client.Flow IMPLICIT
public static OAuth2Client.Flow[] values()
for (OAuth2Client.Flow c : OAuth2Client.Flow.values()) System.out.println(c);
public static OAuth2Client.Flow 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 nullpublic String toString()
toString in class Enum<OAuth2Client.Flow>Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.