Top Description Fields Constructors Methods
org.apache.coyote

public final Class Constants

extends Object
Class Inheritance
Imports
java.nio.charset.Charset, .StandardCharsets

Constants.
Author
Remy Maucherat

Field Summary

Modifier and TypeField and Description
public static final Charset
public static final int
public static final boolean
public static final Charset
public static final boolean
IS_SECURITY_ENABLED

Has security been turned on?

public static final int
public static final String
PEER_ADDR_ATTRIBUTE

The request attribute set by the RemoteIpFilter, RemoteIpValve (and may be set by other similar components) that identifies for the connector the connection peer IP address.

public static final String
REMOTE_ADDR_ATTRIBUTE

The request attribute set by the RemoteIpFilter, RemoteIpValve (and may be set by other similar components) that identifies for the connector the remote IP address claimed to be associated with this request when a request is received via one or more proxies.

public static final String
SENDFILE_FILE_END_ATTR

The request attribute that can be used by a servlet to pass to the connector the end offset (not including) of the part of a file that is to be served by sendfile.

public static final String
SENDFILE_FILE_START_ATTR

The request attribute that can be used by a servlet to pass to the connector the start offset of the part of a file that is to be served by sendfile.

public static final String
SENDFILE_FILENAME_ATTR

The request attribute that can be used by a servlet to pass to the connector the name of the file that is to be served by sendfile.

public static final String
SENDFILE_SUPPORTED_ATTR

The request attribute that is set to the value of Boolean.TRUE if connector processing this request supports use of sendfile.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_BODY_CHARSETback to summary
public static final Charset DEFAULT_BODY_CHARSET
DEFAULT_CONNECTION_LINGERback to summary
public static final int DEFAULT_CONNECTION_LINGER
DEFAULT_TCP_NO_DELAYback to summary
public static final boolean DEFAULT_TCP_NO_DELAY
DEFAULT_URI_CHARSETback to summary
public static final Charset DEFAULT_URI_CHARSET
IS_SECURITY_ENABLEDback to summary
public static final boolean IS_SECURITY_ENABLED

Has security been turned on?

MAX_NOTESback to summary
public static final int MAX_NOTES
PEER_ADDR_ATTRIBUTEback to summary
public static final String PEER_ADDR_ATTRIBUTE

The request attribute set by the RemoteIpFilter, RemoteIpValve (and may be set by other similar components) that identifies for the connector the connection peer IP address.

REMOTE_ADDR_ATTRIBUTEback to summary
public static final String REMOTE_ADDR_ATTRIBUTE

The request attribute set by the RemoteIpFilter, RemoteIpValve (and may be set by other similar components) that identifies for the connector the remote IP address claimed to be associated with this request when a request is received via one or more proxies. It is typically provided via the X-Forwarded-For HTTP header.

SENDFILE_FILE_END_ATTRback to summary
public static final String SENDFILE_FILE_END_ATTR

The request attribute that can be used by a servlet to pass to the connector the end offset (not including) of the part of a file that is to be served by sendfile. The value should be java.lang.Long. To serve complete file the value should be equal to the length of the file.

SENDFILE_FILE_START_ATTRback to summary
public static final String SENDFILE_FILE_START_ATTR

The request attribute that can be used by a servlet to pass to the connector the start offset of the part of a file that is to be served by sendfile. The value should be java.lang.Long. To serve complete file the value should be Long.valueOf(0).

SENDFILE_FILENAME_ATTRback to summary
public static final String SENDFILE_FILENAME_ATTR

The request attribute that can be used by a servlet to pass to the connector the name of the file that is to be served by sendfile. The value should be String that is File.getCanonicalPath() of the file to be served.

SENDFILE_SUPPORTED_ATTRback to summary
public static final String SENDFILE_SUPPORTED_ATTR

The request attribute that is set to the value of Boolean.TRUE if connector processing this request supports use of sendfile.

STAGE_ENDEDback to summary
public static final int STAGE_ENDED
STAGE_ENDINPUTback to summary
public static final int STAGE_ENDINPUT
STAGE_ENDOUTPUTback to summary
public static final int STAGE_ENDOUTPUT
STAGE_KEEPALIVEback to summary
public static final int STAGE_KEEPALIVE
STAGE_NEWback to summary
public static final int STAGE_NEW
STAGE_PARSEback to summary
public static final int STAGE_PARSE
STAGE_PREPAREback to summary
public static final int STAGE_PREPARE
STAGE_SERVICEback to summary
public static final int STAGE_SERVICE

Constructor Detail

Constantsback to summary
public Constants()