org.opentox.toxotis.ontology.collection
Enum HttpMethods.MethodsEnum

java.lang.Object
  extended by java.lang.Enum<HttpMethods.MethodsEnum>
      extended by org.opentox.toxotis.ontology.collection.HttpMethods.MethodsEnum
All Implemented Interfaces:
Serializable, Comparable<HttpMethods.MethodsEnum>
Enclosing class:
HttpMethods

public static enum HttpMethods.MethodsEnum
extends Enum<HttpMethods.MethodsEnum>


Enum Constant Summary
DELETE
           
GET
           
HEAD
           
OPTIONS
           
POST
           
PUT
           
 
Method Summary
 ResourceValue getResourceValue()
           
static HttpMethods.MethodsEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HttpMethods.MethodsEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

GET

public static final HttpMethods.MethodsEnum GET

POST

public static final HttpMethods.MethodsEnum POST

PUT

public static final HttpMethods.MethodsEnum PUT

DELETE

public static final HttpMethods.MethodsEnum DELETE

HEAD

public static final HttpMethods.MethodsEnum HEAD

OPTIONS

public static final HttpMethods.MethodsEnum OPTIONS
Method Detail

values

public static HttpMethods.MethodsEnum[] 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 (HttpMethods.MethodsEnum c : HttpMethods.MethodsEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HttpMethods.MethodsEnum 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

getResourceValue

public ResourceValue getResourceValue()


Copyright © 2011-2012 OpenTox. All Rights Reserved.