public enum HttpTypes extends Enum<HttpTypes>
NOTE: PATCH & DELETE requests are not supported
| Enum Constant and Description |
|---|
CONNECT |
GET |
HEAD |
OPTIONS |
POST |
POST_PARAMS |
PUT |
TRACE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsName(String otherName) |
String |
toString() |
static HttpTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpTypes GET
public static final HttpTypes POST
public static final HttpTypes POST_PARAMS
public static final HttpTypes HEAD
public static final HttpTypes PUT
public static final HttpTypes TRACE
public static final HttpTypes OPTIONS
public static final HttpTypes CONNECT
public static HttpTypes[] values()
for (HttpTypes c : HttpTypes.values()) System.out.println(c);
public static HttpTypes 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 boolean equalsName(String otherName)
Copyright © 2017. All rights reserved.