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