public enum AuthHeader extends Enum<AuthHeader>
| Enum Constant and Description |
|---|
AUTH_ACCOUNT_NAME |
AUTH_ACCOUNT_USER |
AUTH_IDENTIFIER |
AUTH_INTERNAL |
AUTH_TOKEN |
X_OAUTH_ACCOUNT_TOKEN |
X_OAUTH_ACCOUNT_USER |
X_OAUTH_APP |
X_OAUTH_DEV |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static AuthHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthHeader AUTH_INTERNAL
public static final AuthHeader AUTH_ACCOUNT_NAME
public static final AuthHeader AUTH_ACCOUNT_USER
public static final AuthHeader AUTH_IDENTIFIER
public static final AuthHeader AUTH_TOKEN
public static final AuthHeader X_OAUTH_DEV
public static final AuthHeader X_OAUTH_APP
public static final AuthHeader X_OAUTH_ACCOUNT_USER
public static final AuthHeader X_OAUTH_ACCOUNT_TOKEN
public static AuthHeader[] values()
for (AuthHeader c : AuthHeader.values()) System.out.println(c);
public static AuthHeader 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<AuthHeader>Copyright © 2019. All rights reserved.