public enum HttpAuthTypes extends Enum<HttpAuthTypes>
| Enum Constant and Description |
|---|
BASIC
Basic authentication with username/password
|
CUSTOM
Custom authentication with a provided authenticator implementation.
|
NONE
No authentication - default
|
| Modifier and Type | Method and Description |
|---|---|
static HttpAuthTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpAuthTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpAuthTypes NONE
public static final HttpAuthTypes BASIC
public static final HttpAuthTypes CUSTOM
public static HttpAuthTypes[] values()
for (HttpAuthTypes c : HttpAuthTypes.values()) System.out.println(c);
public static HttpAuthTypes 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 © 2012–2024. All rights reserved.