public static enum TestHttpCall.HttpMethod extends java.lang.Enum<TestHttpCall.HttpMethod>
Enum Constant and Description |
---|
DELETE |
GET |
HEAD |
OPTIONS |
POST |
PUT |
TRACE |
Modifier and Type | Field and Description |
---|---|
java.lang.Class<? extends org.apache.http.client.methods.HttpRequestBase> |
requestClass |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static TestHttpCall.HttpMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestHttpCall.HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestHttpCall.HttpMethod GET
public static final TestHttpCall.HttpMethod POST
public static final TestHttpCall.HttpMethod PUT
public static final TestHttpCall.HttpMethod DELETE
public static final TestHttpCall.HttpMethod HEAD
public static final TestHttpCall.HttpMethod OPTIONS
public static final TestHttpCall.HttpMethod TRACE
public final java.lang.Class<? extends org.apache.http.client.methods.HttpRequestBase> requestClass
public static TestHttpCall.HttpMethod[] values()
for (TestHttpCall.HttpMethod c : TestHttpCall.HttpMethod.values()) System.out.println(c);
public static TestHttpCall.HttpMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<TestHttpCall.HttpMethod>