Package org.alfresco.rest.framework.core
Enum ResourceParameter.KIND
- java.lang.Object
-
- java.lang.Enum<ResourceParameter.KIND>
-
- org.alfresco.rest.framework.core.ResourceParameter.KIND
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ResourceParameter.KIND>
- Enclosing class:
- ResourceParameter
public static enum ResourceParameter.KIND extends java.lang.Enum<ResourceParameter.KIND>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HTTP_BODY_OBJECT
HTTP_HEADER
QUERY_STRING
URL_PATH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceParameter.KIND
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ResourceParameter.KIND[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUERY_STRING
public static final ResourceParameter.KIND QUERY_STRING
-
HTTP_BODY_OBJECT
public static final ResourceParameter.KIND HTTP_BODY_OBJECT
-
URL_PATH
public static final ResourceParameter.KIND URL_PATH
-
HTTP_HEADER
public static final ResourceParameter.KIND HTTP_HEADER
-
-
Method Detail
-
values
public static ResourceParameter.KIND[] 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 (ResourceParameter.KIND c : ResourceParameter.KIND.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceParameter.KIND valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-