public static enum TestHttpCall.HttpMethod extends Enum<TestHttpCall.HttpMethod>
| Enum Constant and Description |
|---|
DELETE |
GET |
HEAD |
OPTIONS |
POST |
PUT |
TRACE |
| Modifier and Type | Field and Description |
|---|---|
Class<? extends org.apache.http.client.methods.HttpRequestBase> |
requestClass |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static TestHttpCall.HttpMethod |
valueOf(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 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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<TestHttpCall.HttpMethod>Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.