public enum HTTPAuthScheme extends Enum<HTTPAuthScheme>
Modifier and Type | Method and Description |
---|---|
static HTTPAuthScheme |
fromAuthScope(String scheme) |
String |
getSchemeName() |
static HTTPAuthScheme |
schemeForName(String name) |
static HTTPAuthScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTTPAuthScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPAuthScheme BASIC
public static final HTTPAuthScheme DIGEST
public static final HTTPAuthScheme SSL
public static final HTTPAuthScheme NTLM
public static final HTTPAuthScheme ANY
public static final String PROVIDER
public static HTTPAuthScheme[] values()
for (HTTPAuthScheme c : HTTPAuthScheme.values()) System.out.println(c);
public static HTTPAuthScheme 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 getSchemeName()
public static HTTPAuthScheme schemeForName(String name)
public static HTTPAuthScheme fromAuthScope(String scheme)
Copyright © 1999–2014 UCAR/Unidata. All rights reserved.