public enum HTTPAuthenticationScheme extends Enum<HTTPAuthenticationScheme>
| Enum Constant and Description |
|---|
ANY
Any Authentication Scheme
|
BASIC
Basic Authentication Scheme
|
| Modifier and Type | Method and Description |
|---|---|
static HTTPAuthenticationScheme |
value(String text)
Determine the
HTTPAuthenticationScheme for the specified textual representation |
static HTTPAuthenticationScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTTPAuthenticationScheme[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final HTTPAuthenticationScheme ANY
public static final HTTPAuthenticationScheme BASIC
public static HTTPAuthenticationScheme[] values()
for (HTTPAuthenticationScheme c : HTTPAuthenticationScheme.values())
System.out.println(c);
public static HTTPAuthenticationScheme 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 static HTTPAuthenticationScheme value(String text)
HTTPAuthenticationScheme for the specified textual representationtext - The textual representation of the HTTPAuthenticationSchemeBASIC if the textual value equals (case insensitive) BASIC,null ANY