public enum MethodMode extends Enum<MethodMode>
Enum Constant and Description |
---|
DELETE |
GET |
HEAD |
OPTIONS |
PATCH |
POST |
PUT |
TRACE |
Modifier and Type | Method and Description |
---|---|
static MethodMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodMode POST
public static final MethodMode GET
public static final MethodMode HEAD
public static final MethodMode PUT
public static final MethodMode DELETE
public static final MethodMode OPTIONS
public static final MethodMode TRACE
public static final MethodMode PATCH
public static MethodMode[] values()
for (MethodMode c : MethodMode.values()) System.out.println(c);
public static MethodMode 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 © 2006–2018 TinyGroup. All rights reserved.