Enum TestandtargetHttpClient.TestandtargetMethodType
- java.lang.Object
-
- java.lang.Enum<TestandtargetHttpClient.TestandtargetMethodType>
-
- com.day.cq.analytics.testandtarget.TestandtargetHttpClient.TestandtargetMethodType
-
- All Implemented Interfaces:
Serializable
,Comparable<TestandtargetHttpClient.TestandtargetMethodType>
- Enclosing interface:
- TestandtargetHttpClient
public static enum TestandtargetHttpClient.TestandtargetMethodType extends Enum<TestandtargetHttpClient.TestandtargetMethodType>
Http method used in the API call
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestandtargetHttpClient.TestandtargetMethodType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TestandtargetHttpClient.TestandtargetMethodType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET
public static final TestandtargetHttpClient.TestandtargetMethodType GET
-
POST
public static final TestandtargetHttpClient.TestandtargetMethodType POST
-
PUT
public static final TestandtargetHttpClient.TestandtargetMethodType PUT
-
DELETE
public static final TestandtargetHttpClient.TestandtargetMethodType DELETE
-
PATCH
public static final TestandtargetHttpClient.TestandtargetMethodType PATCH
-
-
Method Detail
-
values
public static TestandtargetHttpClient.TestandtargetMethodType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TestandtargetHttpClient.TestandtargetMethodType c : TestandtargetHttpClient.TestandtargetMethodType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestandtargetHttpClient.TestandtargetMethodType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-