public enum RestParamType extends Enum<RestParamType>
Enum Constant and Description |
---|
BODY
Request body
|
FORMDATA
Form data entry
|
HEADER
Header value
|
OTHER
Not a standard Swagger-defined field
|
PATH
Path variable
|
QUERY
Query parameter
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static RestParamType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestParamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestParamType PATH
public static final RestParamType HEADER
public static final RestParamType FORMDATA
public static final RestParamType QUERY
public static final RestParamType BODY
public static final RestParamType OTHER
public static RestParamType[] values()
for (RestParamType c : RestParamType.values()) System.out.println(c);
public static RestParamType 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 String toString()
toString
in class Enum<RestParamType>
Copyright © 2018 Apache. All rights reserved.