共用方式為


MatchVariable Class

public final class MatchVariable
extends ExpandableStringEnum<MatchVariable>

The name of the condition for the delivery rule.

Field Summary

Modifier and Type Field and Description
static final MatchVariable CLIENT_PORT

Static value ClientPort for MatchVariable.

static final MatchVariable COOKIES

Static value Cookies for MatchVariable.

static final MatchVariable HOST_NAME

Static value HostName for MatchVariable.

static final MatchVariable HTTP_VERSION

Static value HttpVersion for MatchVariable.

static final MatchVariable IS_DEVICE

Static value IsDevice for MatchVariable.

static final MatchVariable POST_ARGS

Static value PostArgs for MatchVariable.

static final MatchVariable QUERY_STRING

Static value QueryString for MatchVariable.

static final MatchVariable REMOTE_ADDRESS

Static value RemoteAddress for MatchVariable.

static final MatchVariable REQUEST_BODY

Static value RequestBody for MatchVariable.

static final MatchVariable REQUEST_HEADER

Static value RequestHeader for MatchVariable.

static final MatchVariable REQUEST_METHOD

Static value RequestMethod for MatchVariable.

static final MatchVariable REQUEST_SCHEME

Static value RequestScheme for MatchVariable.

static final MatchVariable REQUEST_URI

Static value RequestUri for MatchVariable.

static final MatchVariable SERVER_PORT

Static value ServerPort for MatchVariable.

static final MatchVariable SOCKET_ADDR

Static value SocketAddr for MatchVariable.

static final MatchVariable SSL_PROTOCOL

Static value SslProtocol for MatchVariable.

static final MatchVariable URL_FILE_EXTENSION

Static value UrlFileExtension for MatchVariable.

static final MatchVariable URL_FILE_NAME

Static value UrlFileName for MatchVariable.

static final MatchVariable URL_PATH

Static value UrlPath for MatchVariable.

Constructor Summary

Constructor Description
MatchVariable()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MatchVariable value.

Method Summary

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

Creates or finds a MatchVariable from its string representation.

static Collection<MatchVariable> values()

Gets known MatchVariable values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CLIENT_PORT

public static final MatchVariable CLIENT_PORT

Static value ClientPort for MatchVariable.

COOKIES

public static final MatchVariable COOKIES

Static value Cookies for MatchVariable.

HOST_NAME

public static final MatchVariable HOST_NAME

Static value HostName for MatchVariable.

HTTP_VERSION

public static final MatchVariable HTTP_VERSION

Static value HttpVersion for MatchVariable.

IS_DEVICE

public static final MatchVariable IS_DEVICE

Static value IsDevice for MatchVariable.

POST_ARGS

public static final MatchVariable POST_ARGS

Static value PostArgs for MatchVariable.

QUERY_STRING

public static final MatchVariable QUERY_STRING

Static value QueryString for MatchVariable.

REMOTE_ADDRESS

public static final MatchVariable REMOTE_ADDRESS

Static value RemoteAddress for MatchVariable.

REQUEST_BODY

public static final MatchVariable REQUEST_BODY

Static value RequestBody for MatchVariable.

REQUEST_HEADER

public static final MatchVariable REQUEST_HEADER

Static value RequestHeader for MatchVariable.

REQUEST_METHOD

public static final MatchVariable REQUEST_METHOD

Static value RequestMethod for MatchVariable.

REQUEST_SCHEME

public static final MatchVariable REQUEST_SCHEME

Static value RequestScheme for MatchVariable.

REQUEST_URI

public static final MatchVariable REQUEST_URI

Static value RequestUri for MatchVariable.

SERVER_PORT

public static final MatchVariable SERVER_PORT

Static value ServerPort for MatchVariable.

SOCKET_ADDR

public static final MatchVariable SOCKET_ADDR

Static value SocketAddr for MatchVariable.

SSL_PROTOCOL

public static final MatchVariable SSL_PROTOCOL

Static value SslProtocol for MatchVariable.

URL_FILE_EXTENSION

public static final MatchVariable URL_FILE_EXTENSION

Static value UrlFileExtension for MatchVariable.

URL_FILE_NAME

public static final MatchVariable URL_FILE_NAME

Static value UrlFileName for MatchVariable.

URL_PATH

public static final MatchVariable URL_PATH

Static value UrlPath for MatchVariable.

Constructor Details

MatchVariable

@Deprecated
public MatchVariable()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MatchVariable value.

Method Details

fromString

public static MatchVariable fromString(String name)

Creates or finds a MatchVariable from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding MatchVariable.

values

public static Collection values()

Gets known MatchVariable values.

Returns:

known MatchVariable values.

Applies to