public enum AuthenticationScheme extends Enum<AuthenticationScheme>
Enum Constant and Description |
---|
form
Send in the form body.
|
header
Send an Authorization header.
|
none
Do not send at all.
|
query
Send a query parameter in the URI.
|
Modifier and Type | Method and Description |
---|---|
static AuthenticationScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationScheme header
public static final AuthenticationScheme query
public static final AuthenticationScheme form
public static final AuthenticationScheme none
public static AuthenticationScheme[] values()
for (AuthenticationScheme c : AuthenticationScheme.values()) System.out.println(c);
public static AuthenticationScheme 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 © 2019. All rights reserved.