Package org.apache.coyote
Class Constants
java.lang.Object
org.apache.coyote.Constants
Constants.
- Author:
- Remy Maucherat
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Charset
static final int
static final boolean
static final Charset
static final boolean
Has security been turned on?static final int
static final String
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.static final String
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.static final String
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.static final String
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.static final String
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.static final String
The request attribute that is set to the value ofBoolean.TRUE
if connector processing this request supports use of sendfile.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT_URI_CHARSET
-
DEFAULT_BODY_CHARSET
-
MAX_NOTES
public static final int MAX_NOTES- See Also:
-
STAGE_NEW
public static final int STAGE_NEW- See Also:
-
STAGE_PARSE
public static final int STAGE_PARSE- See Also:
-
STAGE_PREPARE
public static final int STAGE_PREPARE- See Also:
-
STAGE_SERVICE
public static final int STAGE_SERVICE- See Also:
-
STAGE_ENDINPUT
public static final int STAGE_ENDINPUT- See Also:
-
STAGE_ENDOUTPUT
public static final int STAGE_ENDOUTPUT- See Also:
-
STAGE_KEEPALIVE
public static final int STAGE_KEEPALIVE- See Also:
-
STAGE_ENDED
public static final int STAGE_ENDED- See Also:
-
DEFAULT_CONNECTION_LINGER
public static final int DEFAULT_CONNECTION_LINGER- See Also:
-
DEFAULT_TCP_NO_DELAY
public static final boolean DEFAULT_TCP_NO_DELAY- See Also:
-
IS_SECURITY_ENABLED
public static final boolean IS_SECURITY_ENABLEDHas security been turned on? -
SENDFILE_SUPPORTED_ATTR
The request attribute that is set to the value ofBoolean.TRUE
if connector processing this request supports use of sendfile.- See Also:
-
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 beString
that isFile.getCanonicalPath()
of the file to be served.- See Also:
-
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 bejava.lang.Long
. To serve complete file the value should beLong.valueOf(0)
.- See Also:
-
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 bejava.lang.Long
. To serve complete file the value should be equal to the length of the file.- See Also:
-
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.- See Also:
-
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.- See Also:
-
-
Constructor Details
-
Constants
public Constants()
-