Package org.forgerock.openig.filter
Enum CookieFilter.Action
- java.lang.Object
-
- java.lang.Enum<CookieFilter.Action>
-
- org.forgerock.openig.filter.CookieFilter.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<CookieFilter.Action>
- Enclosing class:
- CookieFilter
public static enum CookieFilter.Action extends Enum<CookieFilter.Action>
Action to be performed for a cookie.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CookieFilter.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static CookieFilter.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANAGE
public static final CookieFilter.Action MANAGE
Intercept and manage the cookie within the proxy.
-
SUPPRESS
public static final CookieFilter.Action SUPPRESS
Remove the cookie from request and response.
-
RELAY
public static final CookieFilter.Action RELAY
Relay the cookie between remote client and remote host.
-
-
Method Detail
-
values
public static CookieFilter.Action[] 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 (CookieFilter.Action c : CookieFilter.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CookieFilter.Action 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
-
-