public enum ProxyAuthenticationType extends Enum<ProxyAuthenticationType>
| Enum Constant and Description |
|---|
BASIC
Authenticates against proxy with basic authentication scheme.
|
DIGEST
Authenticates against proxy with digest access authentication.
|
NONE
Proxy requires no authentication.
|
| Modifier and Type | Method and Description |
|---|---|
static ProxyAuthenticationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyAuthenticationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyAuthenticationType NONE
public static final ProxyAuthenticationType BASIC
public static final ProxyAuthenticationType DIGEST
public static ProxyAuthenticationType[] values()
for (ProxyAuthenticationType c : ProxyAuthenticationType.values()) System.out.println(c);
public static ProxyAuthenticationType 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 nullCopyright © 2020. All rights reserved.