org.jets3t.service.impl.rest.httpclient
Enum RestStorageService.HTTP_METHOD
java.lang.Object
java.lang.Enum<RestStorageService.HTTP_METHOD>
org.jets3t.service.impl.rest.httpclient.RestStorageService.HTTP_METHOD
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<RestStorageService.HTTP_METHOD>
- Enclosing class:
- RestStorageService
protected static enum RestStorageService.HTTP_METHOD
- extends java.lang.Enum<RestStorageService.HTTP_METHOD>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
PUT
public static final RestStorageService.HTTP_METHOD PUT
POST
public static final RestStorageService.HTTP_METHOD POST
HEAD
public static final RestStorageService.HTTP_METHOD HEAD
GET
public static final RestStorageService.HTTP_METHOD GET
DELETE
public static final RestStorageService.HTTP_METHOD DELETE
values
public static RestStorageService.HTTP_METHOD[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RestStorageService.HTTP_METHOD c : RestStorageService.HTTP_METHOD.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RestStorageService.HTTP_METHOD valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null