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