ArcGIS Server Geoportal extension
10

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're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, 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 final HttpClientRequest.MethodName[] values()
Returns an array containing the constants of this enum type, in the order they're 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're 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

ArcGIS Server Geoportal extension
10

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