Apache Tomcat 7.0.28

org.apache.coyote
Class Constants

java.lang.Object
  extended by org.apache.coyote.Constants

public final class Constants
extends Object

Constants.

Author:
Remy Maucherat

Field Summary
static String COMET_SUPPORTED_ATTR
          The request attribute that is set to the value of Boolean.TRUE if connector processing this request supports Comet API.
static String COMET_TIMEOUT_ATTR
          The request attribute that can be set to a value of type java.lang.Integer to specify per-connection request timeout for Comet API.
static String COMET_TIMEOUT_SUPPORTED_ATTR
          The request attribute that is set to the value of Boolean.TRUE if connector processing this request supports setting per-connection request timeout through Comet API.
static String DEFAULT_CHARACTER_ENCODING
           
static boolean IS_SECURITY_ENABLED
          Has security been turned on?
static int MAX_NOTES
           
static String Package
           
static 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.
static 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.
static 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.
static 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.
static int STAGE_ENDED
           
static int STAGE_ENDINPUT
           
static int STAGE_ENDOUTPUT
           
static int STAGE_KEEPALIVE
           
static int STAGE_NEW
           
static int STAGE_PARSE
           
static int STAGE_PREPARE
           
static int STAGE_SERVICE
           
static boolean USE_CUSTOM_STATUS_MSG_IN_HEADER
          If true, custom HTTP status messages will be used in headers.
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Package

public static final String Package
See Also:
Constant Field Values

DEFAULT_CHARACTER_ENCODING

public static final String DEFAULT_CHARACTER_ENCODING
See Also:
Constant Field Values

MAX_NOTES

public static final int MAX_NOTES
See Also:
Constant Field Values

STAGE_NEW

public static final int STAGE_NEW
See Also:
Constant Field Values

STAGE_PARSE

public static final int STAGE_PARSE
See Also:
Constant Field Values

STAGE_PREPARE

public static final int STAGE_PREPARE
See Also:
Constant Field Values

STAGE_SERVICE

public static final int STAGE_SERVICE
See Also:
Constant Field Values

STAGE_ENDINPUT

public static final int STAGE_ENDINPUT
See Also:
Constant Field Values

STAGE_ENDOUTPUT

public static final int STAGE_ENDOUTPUT
See Also:
Constant Field Values

STAGE_KEEPALIVE

public static final int STAGE_KEEPALIVE
See Also:
Constant Field Values

STAGE_ENDED

public static final int STAGE_ENDED
See Also:
Constant Field Values

IS_SECURITY_ENABLED

public static final boolean IS_SECURITY_ENABLED
Has security been turned on?


USE_CUSTOM_STATUS_MSG_IN_HEADER

public static final boolean USE_CUSTOM_STATUS_MSG_IN_HEADER
If true, custom HTTP status messages will be used in headers.


COMET_SUPPORTED_ATTR

public static final String COMET_SUPPORTED_ATTR
The request attribute that is set to the value of Boolean.TRUE if connector processing this request supports Comet API.

See Also:
Constant Field Values

COMET_TIMEOUT_SUPPORTED_ATTR

public static final String COMET_TIMEOUT_SUPPORTED_ATTR
The request attribute that is set to the value of Boolean.TRUE if connector processing this request supports setting per-connection request timeout through Comet API.

See Also:
CometEvent.setTimeout(int), Constant Field Values

COMET_TIMEOUT_ATTR

public static final String COMET_TIMEOUT_ATTR
The request attribute that can be set to a value of type java.lang.Integer to specify per-connection request timeout for Comet API. The value is in milliseconds.

See Also:
CometEvent.setTimeout(int), Constant Field Values

SENDFILE_SUPPORTED_ATTR

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.

See Also:
Constant Field Values

SENDFILE_FILENAME_ATTR

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 java.lang.String that is File.getCanonicalPath() of the file to be served.

See Also:
Constant Field Values

SENDFILE_FILE_START_ATTR

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).

See Also:
Constant Field Values

SENDFILE_FILE_END_ATTR

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.

See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()

Apache Tomcat 7.0.28

Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.