public enum ParameterLocation extends Enum<ParameterLocation>
Enum Constant and Description |
---|
BODY |
BODY_FORM |
BODY_JSON |
BODY_XML |
COOKIE |
FILE |
HEADER |
PATH |
QUERY |
Modifier and Type | Method and Description |
---|---|
static ParameterLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterLocation HEADER
public static final ParameterLocation QUERY
public static final ParameterLocation PATH
public static final ParameterLocation FILE
public static final ParameterLocation BODY_FORM
public static final ParameterLocation BODY
public static final ParameterLocation BODY_JSON
public static final ParameterLocation BODY_XML
public static final ParameterLocation COOKIE
public String s
public static ParameterLocation[] values()
for (ParameterLocation c : ParameterLocation.values()) System.out.println(c);
public static ParameterLocation 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 © 2023 Eclipse. All rights reserved.