Package org.hippoecm.hst.core.request
Enum HstRequestContext.HstRequestType
- java.lang.Object
-
- java.lang.Enum<HstRequestContext.HstRequestType>
-
- org.hippoecm.hst.core.request.HstRequestContext.HstRequestType
-
- All Implemented Interfaces:
Serializable
,Comparable<HstRequestContext.HstRequestType>
- Enclosing interface:
- HstRequestContext
public static enum HstRequestContext.HstRequestType extends Enum<HstRequestContext.HstRequestType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANNEL_MGR_PREVIEW
CHANNEL_MGR_REST
CONTEXT_LESS_REQUEST
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HstRequestContext.HstRequestType
valueOf(String name)
Returns the enum constant of this type with the specified name.static HstRequestContext.HstRequestType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHANNEL_MGR_REST
public static final HstRequestContext.HstRequestType CHANNEL_MGR_REST
-
CHANNEL_MGR_PREVIEW
public static final HstRequestContext.HstRequestType CHANNEL_MGR_PREVIEW
-
CONTEXT_LESS_REQUEST
public static final HstRequestContext.HstRequestType CONTEXT_LESS_REQUEST
-
-
Method Detail
-
values
public static HstRequestContext.HstRequestType[] 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 (HstRequestContext.HstRequestType c : HstRequestContext.HstRequestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HstRequestContext.HstRequestType 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
-
-