|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<HttpMethod>
com.google.code.linkedinapi.client.enumeration.HttpMethod
public enum HttpMethod
Enum Constant Summary | |
---|---|
DELETE
HTTP Delete Method |
|
GET
HTTP Get Method |
|
POST
HTTP Post Method |
|
PUT
HTTP Put Method |
Field Summary | |
---|---|
private java.lang.String |
fieldName
Field description |
private static java.util.Map<java.lang.String,HttpMethod> |
stringToEnum
Field Description. |
Method Summary | |
---|---|
java.lang.String |
fieldName()
|
static HttpMethod |
fromString(java.lang.String symbol)
|
java.lang.String |
toString()
Method description |
static HttpMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final HttpMethod GET
public static final HttpMethod PUT
public static final HttpMethod POST
public static final HttpMethod DELETE
Field Detail |
---|
private static final java.util.Map<java.lang.String,HttpMethod> stringToEnum
private final java.lang.String fieldName
Method Detail |
---|
public static HttpMethod[] values()
for (HttpMethod c : HttpMethod.values()) System.out.println(c);
public static HttpMethod 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String fieldName()
fieldName
in interface FieldEnum
public java.lang.String toString()
toString
in class java.lang.Enum<HttpMethod>
public static HttpMethod fromString(java.lang.String symbol)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |