public static enum HTTPRequest.HTTPMETHOD extends Enum<HTTPRequest.HTTPMETHOD>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static HTTPRequest.HTTPMETHOD |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTTPRequest.HTTPMETHOD[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPRequest.HTTPMETHOD HEAD
public static final HTTPRequest.HTTPMETHOD GET
public static final HTTPRequest.HTTPMETHOD POST
public static final HTTPRequest.HTTPMETHOD PUT
public static final HTTPRequest.HTTPMETHOD DELETE
public static HTTPRequest.HTTPMETHOD[] values()
for (HTTPRequest.HTTPMETHOD c : HTTPRequest.HTTPMETHOD.values()) System.out.println(c);
public static HTTPRequest.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<HTTPRequest.HTTPMETHOD>Copyright © 2018. All Rights Reserved.