public static enum HttpAuthMethod.Type extends java.lang.Enum<HttpAuthMethod.Type>
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getSchemeName() |
abstract HttpAuthMethod |
method(java.lang.String hdr)
Creates a HttpAuthMethod instance configured with the provided HTTP
WWW-Authenticate header.
|
static HttpAuthMethod.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpAuthMethod.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpAuthMethod.Type NONE
public static final HttpAuthMethod.Type BASIC
public static final HttpAuthMethod.Type DIGEST
public static final HttpAuthMethod.Type NEGOTIATE
public static HttpAuthMethod.Type[] values()
for (HttpAuthMethod.Type c : HttpAuthMethod.Type.values()) System.out.println(c);
public static HttpAuthMethod.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract HttpAuthMethod method(java.lang.String hdr)
hdr - the http headerpublic abstract java.lang.String getSchemeName()