public enum RequestPolicyType extends java.lang.Enum<RequestPolicyType>
Enum Constant and Description |
---|
CUSTOM
Custom implementation of calculating significant request data.
|
URL_AND_METHOD
Policy that checks the URL and Method of a request.
|
URL_METHOD_AND_PARAMETERS
Policy that checks the URL and Method and all parameters of a request.
|
WITH_BODY
Policy that checks the URL, Method, all parameters and full body data of a HTTP request.
|
Modifier and Type | Method and Description |
---|---|
static RequestPolicyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestPolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestPolicyType URL_AND_METHOD
public static final RequestPolicyType URL_METHOD_AND_PARAMETERS
public static final RequestPolicyType WITH_BODY
public static final RequestPolicyType CUSTOM
public static RequestPolicyType[] values()
for (RequestPolicyType c : RequestPolicyType.values()) System.out.println(c);
public static RequestPolicyType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null