public static enum Parameter.ParamType extends Enum<Parameter.ParamType>
| Modifier and Type | Method and Description |
|---|---|
static Parameter.ParamType |
fromValue(String value) |
String |
toString() |
String |
value() |
static Parameter.ParamType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parameter.ParamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parameter.ParamType PATH
public static final Parameter.ParamType QUERY
public static final Parameter.ParamType BODY
public static final Parameter.ParamType HEADER
public static final Parameter.ParamType FORM
public static Parameter.ParamType[] values()
for (Parameter.ParamType c : Parameter.ParamType.values()) System.out.println(c);
public static Parameter.ParamType 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<Parameter.ParamType>public String value()
public static Parameter.ParamType fromValue(String value)
Copyright © 2011–2016 Red Hat. All rights reserved.