WafMatchVariable Class

public final class WafMatchVariable
extends ExpandableStringEnum<WafMatchVariable>

Match variable to compare against.

Field Summary

Modifier and Type Field and Description
static final WafMatchVariable COOKIES

Static value Cookies for WafMatchVariable.

static final WafMatchVariable POST_ARGS

Static value PostArgs for WafMatchVariable.

static final WafMatchVariable QUERY_STRING

Static value QueryString for WafMatchVariable.

static final WafMatchVariable REMOTE_ADDR

Static value RemoteAddr for WafMatchVariable.

static final WafMatchVariable REQUEST_BODY

Static value RequestBody for WafMatchVariable.

static final WafMatchVariable REQUEST_HEADER

Static value RequestHeader for WafMatchVariable.

static final WafMatchVariable REQUEST_METHOD

Static value RequestMethod for WafMatchVariable.

static final WafMatchVariable REQUEST_URI

Static value RequestUri for WafMatchVariable.

static final WafMatchVariable SOCKET_ADDR

Static value SocketAddr for WafMatchVariable.

Constructor Summary

Constructor Description
WafMatchVariable()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WafMatchVariable value.

Method Summary

Modifier and Type Method and Description
static WafMatchVariable fromString(String name)

Creates or finds a WafMatchVariable from its string representation.

static Collection<WafMatchVariable> values()

Gets known WafMatchVariable values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COOKIES

public static final WafMatchVariable COOKIES

Static value Cookies for WafMatchVariable.

POST_ARGS

public static final WafMatchVariable POST_ARGS

Static value PostArgs for WafMatchVariable.

QUERY_STRING

public static final WafMatchVariable QUERY_STRING

Static value QueryString for WafMatchVariable.

REMOTE_ADDR

public static final WafMatchVariable REMOTE_ADDR

Static value RemoteAddr for WafMatchVariable.

REQUEST_BODY

public static final WafMatchVariable REQUEST_BODY

Static value RequestBody for WafMatchVariable.

REQUEST_HEADER

public static final WafMatchVariable REQUEST_HEADER

Static value RequestHeader for WafMatchVariable.

REQUEST_METHOD

public static final WafMatchVariable REQUEST_METHOD

Static value RequestMethod for WafMatchVariable.

REQUEST_URI

public static final WafMatchVariable REQUEST_URI

Static value RequestUri for WafMatchVariable.

SOCKET_ADDR

public static final WafMatchVariable SOCKET_ADDR

Static value SocketAddr for WafMatchVariable.

Constructor Details

WafMatchVariable

@Deprecated
public WafMatchVariable()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WafMatchVariable value.

Method Details

fromString

public static WafMatchVariable fromString(String name)

Creates or finds a WafMatchVariable from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding WafMatchVariable.

values

public static Collection values()

Gets known WafMatchVariable values.

Returns:

known WafMatchVariable values.

Applies to