public enum ParameterType extends Enum<ParameterType>
| Modifier and Type | Method and Description |
|---|---|
ParameterDeserializer |
getDeserializer() |
static boolean |
is(String typeStr,
ParameterType type) |
static ParameterType |
of(String typeStr) |
static ParameterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterType PATH
public static final ParameterType QUERY
public static final ParameterType HEADER
public static final ParameterType COOKIE
public static ParameterType[] values()
for (ParameterType c : ParameterType.values()) System.out.println(c);
public static ParameterType 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 static ParameterType of(String typeStr)
public static boolean is(String typeStr, ParameterType type)
public ParameterDeserializer getDeserializer()
Copyright © 2020. All rights reserved.