|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Destination>
org.codegist.crest.config.Destination
public enum Destination
Param destination.
Enum Constant Summary | |
---|---|
BODY
Use it to configure a parameter to be part of the http request Body |
|
HEADER
Use it to configure a parameter to be part of the http request Header |
|
URL
Use it to configure a parameter to be part of the http request queryString |
Method Summary | |
---|---|
static Destination |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Destination[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Destination URL
public static final Destination BODY
public static final Destination HEADER
Method Detail |
---|
public static final Destination[] values()
for(Destination c : Destination.values()) System.out.println(c);
public static Destination valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |