org.sakaiproject.entitybroker.util.http
Enum HttpRESTUtils.Method
java.lang.Object
java.lang.Enum<HttpRESTUtils.Method>
org.sakaiproject.entitybroker.util.http.HttpRESTUtils.Method
- All Implemented Interfaces:
- Serializable, Comparable<HttpRESTUtils.Method>
- Enclosing class:
- HttpRESTUtils
public static enum HttpRESTUtils.Method
- extends Enum<HttpRESTUtils.Method>
POST
public static final HttpRESTUtils.Method POST
GET
public static final HttpRESTUtils.Method GET
PUT
public static final HttpRESTUtils.Method PUT
DELETE
public static final HttpRESTUtils.Method DELETE
HEAD
public static final HttpRESTUtils.Method HEAD
OPTIONS
public static final HttpRESTUtils.Method OPTIONS
TRACE
public static final HttpRESTUtils.Method TRACE
values
public static HttpRESTUtils.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 (HttpRESTUtils.Method c : HttpRESTUtils.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 HttpRESTUtils.Method valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2007-2013 CARET, University of Cambridge. All Rights Reserved.