public static enum HttpProtocolClient.HttpRequestMethodEnum extends java.lang.Enum<HttpProtocolClient.HttpRequestMethodEnum>
Enum Constant and Description |
---|
DELETE
DELETEメソッド
|
GET
GETメソッド
|
POST
POSTメソッド
|
PUT
PUTメソッド
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static HttpProtocolClient.HttpRequestMethodEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpProtocolClient.HttpRequestMethodEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpProtocolClient.HttpRequestMethodEnum GET
public static final HttpProtocolClient.HttpRequestMethodEnum PUT
public static final HttpProtocolClient.HttpRequestMethodEnum POST
public static final HttpProtocolClient.HttpRequestMethodEnum DELETE
public static HttpProtocolClient.HttpRequestMethodEnum[] values()
for (HttpProtocolClient.HttpRequestMethodEnum c : HttpProtocolClient.HttpRequestMethodEnum.values()) System.out.println(c);
public static HttpProtocolClient.HttpRequestMethodEnum 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<HttpProtocolClient.HttpRequestMethodEnum>