Esri Geoportal Server
1.0

com.esri.gpt.framework.http
Enum HttpClientRequest.MethodName

java.lang.Object
  extended by java.lang.Enum<HttpClientRequest.MethodName>
      extended by com.esri.gpt.framework.http.HttpClientRequest.MethodName
All Implemented Interfaces:
Serializable, Comparable<HttpClientRequest.MethodName>
Enclosing class:
HttpClientRequest

public static enum HttpClientRequest.MethodName
extends Enum<HttpClientRequest.MethodName>

The enumeration of upported HTTP method names.


Enum Constant Summary
DELETE
           
GET
           
POST
           
PUT
           
 
Method Summary
static HttpClientRequest.MethodName valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HttpClientRequest.MethodName[] 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 HttpClientRequest.MethodName GET

DELETE

public static final HttpClientRequest.MethodName DELETE

POST

public static final HttpClientRequest.MethodName POST

PUT

public static final HttpClientRequest.MethodName PUT
Method Detail

values

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

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

valueOf

public static HttpClientRequest.MethodName 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

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.