public enum AuthParameterPosition extends Enum<AuthParameterPosition>
Enum Constant and Description |
---|
BODY
The parameter should be passed as a form field.
|
HEADER
The parameter should be passed as part of the Authorization header.
|
Modifier and Type | Method and Description |
---|---|
static AuthParameterPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthParameterPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthParameterPosition HEADER
public static final AuthParameterPosition BODY
public static AuthParameterPosition[] values()
for (AuthParameterPosition c : AuthParameterPosition.values()) System.out.println(c);
public static AuthParameterPosition 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 © 2024. All rights reserved.