Serializable, Comparable<JCurl.HttpMethod>public static enum JCurl.HttpMethod extends Enum<JCurl.HttpMethod>
| Enum Constant | Description |
|---|---|
CONNECT |
|
DELETE |
|
GET |
|
HEAD |
|
OPTIONS |
|
POST |
|
PUT |
| Modifier and Type | Method | Description |
|---|---|---|
static JCurl.HttpMethod |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static JCurl.HttpMethod[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCurl.HttpMethod GET
public static final JCurl.HttpMethod POST
public static final JCurl.HttpMethod PUT
public static final JCurl.HttpMethod DELETE
public static final JCurl.HttpMethod HEAD
public static final JCurl.HttpMethod CONNECT
public static final JCurl.HttpMethod OPTIONS
public static JCurl.HttpMethod[] values()
for (JCurl.HttpMethod c : JCurl.HttpMethod.values()) System.out.println(c);
public static JCurl.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 nullCopyright © 2018 The Symphony Software Foundation. All rights reserved.