com.esri.gpt.framework.http
Enum HttpClientRequest.MethodName
java.lang.Object
java.lang.Enum<HttpClientRequest.MethodName>
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.
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
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
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.