Modifier and Type | Method and Description |
---|---|
static ParamType |
forValue(java.lang.String value) |
java.lang.String |
toValue() |
static ParamType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParamType PATH
public static final ParamType QUERY
public static final ParamType BODY
public static final ParamType HEADER
public static final ParamType FORM
public static ParamType[] values()
for (ParamType c : ParamType.values()) System.out.println(c);
public static ParamType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ParamType forValue(java.lang.String value)
public java.lang.String toValue()
Copyright © 2019. All Rights Reserved.