public static enum HttpProcessor.HTTP_AUTH extends Enum<HttpProcessor.HTTP_AUTH>
Enum Constant and Description |
---|
AWS
The AWS.
|
BASIC
The basic.
|
BASIC_PREEMPTIVE
The preemptive basic.
|
HEADER
The HEADER.
|
NONE
The none.
|
OAUTH1
The OAUTH1.
|
OAUTH2
The TOKEN.
|
Modifier and Type | Method and Description |
---|---|
static HttpProcessor.HTTP_AUTH |
getMethod(Properties props)
Get the HTTP method by the string containing properties.
|
static HttpProcessor.HTTP_AUTH |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpProcessor.HTTP_AUTH[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpProcessor.HTTP_AUTH NONE
public static final HttpProcessor.HTTP_AUTH BASIC
public static final HttpProcessor.HTTP_AUTH BASIC_PREEMPTIVE
public static final HttpProcessor.HTTP_AUTH OAUTH2
public static final HttpProcessor.HTTP_AUTH OAUTH1
public static final HttpProcessor.HTTP_AUTH HEADER
public static final HttpProcessor.HTTP_AUTH AWS
public static HttpProcessor.HTTP_AUTH[] values()
for (HttpProcessor.HTTP_AUTH c : HttpProcessor.HTTP_AUTH.values()) System.out.println(c);
public static HttpProcessor.HTTP_AUTH 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 HttpProcessor.HTTP_AUTH getMethod(Properties props)
props
- the propsCopyright © 2010-2020 Toolsverse. All Rights Reserved.