Apache Tomcat 6.0.53

org.apache.coyote.ajp
Class Constants

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

public final class Constants
extends java.lang.Object

Constants.

Author:
Remy Maucherat

Field Summary
static byte[] _200_BYTES
           
static byte[] _400_BYTES
           
static byte[] _404_BYTES
           
static byte a
          'a'.
static byte A
          'A'.
static byte[] ACK_BYTES
           
static int BUFFERED_FILTER
          Buffered filter (input)
static java.lang.String CHUNKED
           
static int CHUNKED_FILTER
          Chunked filters (input and output).
static java.lang.String CLOSE
           
static byte[] CLOSE_BYTES
           
static byte COLON
          COLON.
static byte[] COLON_BYTES
           
static java.lang.String CONNECTION
           
static byte CR
          CR.
static java.lang.String CRLF
          CRLF.
static byte[] CRLF_BYTES
           
static int DEFAULT_CONNECTION_LINGER
           
static int DEFAULT_CONNECTION_TIMEOUT
           
static int DEFAULT_CONNECTION_UPLOAD_TIMEOUT
           
static int DEFAULT_HTTP_HEADER_BUFFER_SIZE
          Default HTTP header buffer size.
static int DEFAULT_SERVER_SOCKET_TIMEOUT
           
static boolean DEFAULT_TCP_NO_DELAY
           
static java.lang.String GET
          GET.
static int GZIP_FILTER
          GZIP filter (output).
static int H_SIZE
          Size of basic packet header
static java.lang.String HEAD
          HEAD.
static java.lang.String[] headerTransArray
           
static byte HT
          HT.
static java.lang.String HTTP_10
          HTTP/1.0.
static java.lang.String HTTP_11
          HTTP/1.1.
static byte[] HTTP_11_BYTES
           
static int IDENTITY_FILTER
          Identity filters (input and output).
static byte JK_AJP13_CPING_REQUEST
           
static byte JK_AJP13_CPONG_REPLY
           
static byte JK_AJP13_END_RESPONSE
           
static byte JK_AJP13_FORWARD_REQUEST
           
static byte JK_AJP13_GET_BODY_CHUNK
           
static byte JK_AJP13_PING_REQUEST
           
static byte JK_AJP13_SEND_BODY_CHUNK
           
static byte JK_AJP13_SEND_HEADERS
           
static byte JK_AJP13_SHUTDOWN
           
static java.lang.String KEEPALIVE
           
static byte[] KEEPALIVE_BYTES
           
static byte LC_OFFSET
          Lower case offset.
static byte LF
          LF.
static int MAX_PACKET_SIZE
          Default maximum total byte size for a AJP packet
static int MAX_READ_SIZE
          Default maximum size of data that can be sent in one packet
static int MAX_SEND_SIZE
           
static java.lang.String[] methodTransArray
           
static java.lang.String Package
          Package name.
static java.lang.String POST
          POST.
static byte QUESTION
          '?'.
static int READ_HEAD_LEN
          Size of the header metadata
static java.lang.String[] responseTransArray
           
static byte SC_A_ARE_DONE
           
static byte SC_A_AUTH_TYPE
           
static byte SC_A_CONTEXT
           
static byte SC_A_JVM_ROUTE
           
static byte SC_A_QUERY_STRING
           
static byte SC_A_REMOTE_USER
           
static byte SC_A_REQ_ATTRIBUTE
           
static java.lang.String SC_A_REQ_LOCAL_ADDR
          AJP private request attributes
static java.lang.String SC_A_REQ_REMOTE_PORT
           
static byte SC_A_SECRET
           
static byte SC_A_SERVLET_PATH
           
static byte SC_A_SSL_CERT
           
static byte SC_A_SSL_CIPHER
           
static byte SC_A_SSL_KEY_SIZE
           
static byte SC_A_SSL_KEYSIZE
           
static byte SC_A_SSL_SESSION
           
static byte SC_A_STORED_METHOD
           
static int SC_M_JK_STORED
           
static int SC_REQ_ACCEPT
           
static int SC_REQ_ACCEPT_CHARSET
           
static int SC_REQ_ACCEPT_ENCODING
           
static int SC_REQ_ACCEPT_LANGUAGE
           
static int SC_REQ_AUTHORIZATION
           
static int SC_REQ_CONNECTION
           
static int SC_REQ_CONTENT_LENGTH
           
static int SC_REQ_CONTENT_TYPE
           
static int SC_REQ_COOKIE
           
static int SC_REQ_COOKIE2
           
static int SC_REQ_HOST
           
static int SC_REQ_PRAGMA
           
static int SC_REQ_REFERER
           
static int SC_REQ_USER_AGENT
           
static int SC_RESP_AJP13_MAX
           
static int SC_RESP_CONTENT_LANGUAGE
           
static int SC_RESP_CONTENT_LENGTH
           
static int SC_RESP_CONTENT_TYPE
           
static int SC_RESP_DATE
           
static int SC_RESP_LAST_MODIFIED
           
static int SC_RESP_LOCATION
           
static int SC_RESP_SERVLET_ENGINE
           
static int SC_RESP_SET_COOKIE
           
static int SC_RESP_SET_COOKIE2
           
static int SC_RESP_STATUS
           
static int SC_RESP_WWW_AUTHENTICATE
           
static int SEND_HEAD_LEN
           
static byte[] SERVER_BYTES
          Server string.
static byte SP
          SP.
static java.lang.String TRANSFERENCODING
           
static int VOID_FILTER
          Void filters (input and output).
static byte Z
          'Z'.
 
Constructor Summary
Constants()
           
 
Method Summary
static int getResponseAjpIndex(java.lang.String header)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Package

public static final java.lang.String Package
Package name.

See Also:
Constant Field Values

DEFAULT_CONNECTION_LINGER

public static final int DEFAULT_CONNECTION_LINGER
See Also:
Constant Field Values

DEFAULT_CONNECTION_TIMEOUT

public static final int DEFAULT_CONNECTION_TIMEOUT
See Also:
Constant Field Values

DEFAULT_CONNECTION_UPLOAD_TIMEOUT

public static final int DEFAULT_CONNECTION_UPLOAD_TIMEOUT
See Also:
Constant Field Values

DEFAULT_SERVER_SOCKET_TIMEOUT

public static final int DEFAULT_SERVER_SOCKET_TIMEOUT
See Also:
Constant Field Values

DEFAULT_TCP_NO_DELAY

public static final boolean DEFAULT_TCP_NO_DELAY
See Also:
Constant Field Values

JK_AJP13_FORWARD_REQUEST

public static final byte JK_AJP13_FORWARD_REQUEST
See Also:
Constant Field Values

JK_AJP13_SHUTDOWN

public static final byte JK_AJP13_SHUTDOWN
See Also:
Constant Field Values

JK_AJP13_PING_REQUEST

public static final byte JK_AJP13_PING_REQUEST
See Also:
Constant Field Values

JK_AJP13_CPING_REQUEST

public static final byte JK_AJP13_CPING_REQUEST
See Also:
Constant Field Values

JK_AJP13_SEND_BODY_CHUNK

public static final byte JK_AJP13_SEND_BODY_CHUNK
See Also:
Constant Field Values

JK_AJP13_SEND_HEADERS

public static final byte JK_AJP13_SEND_HEADERS
See Also:
Constant Field Values

JK_AJP13_END_RESPONSE

public static final byte JK_AJP13_END_RESPONSE
See Also:
Constant Field Values

JK_AJP13_GET_BODY_CHUNK

public static final byte JK_AJP13_GET_BODY_CHUNK
See Also:
Constant Field Values

JK_AJP13_CPONG_REPLY

public static final byte JK_AJP13_CPONG_REPLY
See Also:
Constant Field Values

SC_RESP_CONTENT_TYPE

public static final int SC_RESP_CONTENT_TYPE
See Also:
Constant Field Values

SC_RESP_CONTENT_LANGUAGE

public static final int SC_RESP_CONTENT_LANGUAGE
See Also:
Constant Field Values

SC_RESP_CONTENT_LENGTH

public static final int SC_RESP_CONTENT_LENGTH
See Also:
Constant Field Values

SC_RESP_DATE

public static final int SC_RESP_DATE
See Also:
Constant Field Values

SC_RESP_LAST_MODIFIED

public static final int SC_RESP_LAST_MODIFIED
See Also:
Constant Field Values

SC_RESP_LOCATION

public static final int SC_RESP_LOCATION
See Also:
Constant Field Values

SC_RESP_SET_COOKIE

public static final int SC_RESP_SET_COOKIE
See Also:
Constant Field Values

SC_RESP_SET_COOKIE2

public static final int SC_RESP_SET_COOKIE2
See Also:
Constant Field Values

SC_RESP_SERVLET_ENGINE

public static final int SC_RESP_SERVLET_ENGINE
See Also:
Constant Field Values

SC_RESP_STATUS

public static final int SC_RESP_STATUS
See Also:
Constant Field Values

SC_RESP_WWW_AUTHENTICATE

public static final int SC_RESP_WWW_AUTHENTICATE
See Also:
Constant Field Values

SC_RESP_AJP13_MAX

public static final int SC_RESP_AJP13_MAX
See Also:
Constant Field Values

SC_A_CONTEXT

public static final byte SC_A_CONTEXT
See Also:
Constant Field Values

SC_A_SERVLET_PATH

public static final byte SC_A_SERVLET_PATH
See Also:
Constant Field Values

SC_A_REMOTE_USER

public static final byte SC_A_REMOTE_USER
See Also:
Constant Field Values

SC_A_AUTH_TYPE

public static final byte SC_A_AUTH_TYPE
See Also:
Constant Field Values

SC_A_QUERY_STRING

public static final byte SC_A_QUERY_STRING
See Also:
Constant Field Values

SC_A_JVM_ROUTE

public static final byte SC_A_JVM_ROUTE
See Also:
Constant Field Values

SC_A_SSL_CERT

public static final byte SC_A_SSL_CERT
See Also:
Constant Field Values

SC_A_SSL_CIPHER

public static final byte SC_A_SSL_CIPHER
See Also:
Constant Field Values

SC_A_SSL_SESSION

public static final byte SC_A_SSL_SESSION
See Also:
Constant Field Values

SC_A_SSL_KEYSIZE

public static final byte SC_A_SSL_KEYSIZE
See Also:
Constant Field Values

SC_A_SECRET

public static final byte SC_A_SECRET
See Also:
Constant Field Values

SC_A_STORED_METHOD

public static final byte SC_A_STORED_METHOD
See Also:
Constant Field Values

SC_A_REQ_ATTRIBUTE

public static final byte SC_A_REQ_ATTRIBUTE
See Also:
Constant Field Values

SC_A_REQ_LOCAL_ADDR

public static final java.lang.String SC_A_REQ_LOCAL_ADDR
AJP private request attributes

See Also:
Constant Field Values

SC_A_REQ_REMOTE_PORT

public static final java.lang.String SC_A_REQ_REMOTE_PORT
See Also:
Constant Field Values

SC_A_ARE_DONE

public static final byte SC_A_ARE_DONE
See Also:
Constant Field Values

MAX_PACKET_SIZE

public static final int MAX_PACKET_SIZE
Default maximum total byte size for a AJP packet

See Also:
Constant Field Values

H_SIZE

public static final int H_SIZE
Size of basic packet header

See Also:
Constant Field Values

READ_HEAD_LEN

public static final int READ_HEAD_LEN
Size of the header metadata

See Also:
Constant Field Values

SEND_HEAD_LEN

public static final int SEND_HEAD_LEN
See Also:
Constant Field Values

MAX_READ_SIZE

public static final int MAX_READ_SIZE
Default maximum size of data that can be sent in one packet

See Also:
Constant Field Values

MAX_SEND_SIZE

public static final int MAX_SEND_SIZE
See Also:
Constant Field Values

methodTransArray

public static final java.lang.String[] methodTransArray

SC_M_JK_STORED

public static final int SC_M_JK_STORED
See Also:
Constant Field Values

SC_REQ_ACCEPT

public static final int SC_REQ_ACCEPT
See Also:
Constant Field Values

SC_REQ_ACCEPT_CHARSET

public static final int SC_REQ_ACCEPT_CHARSET
See Also:
Constant Field Values

SC_REQ_ACCEPT_ENCODING

public static final int SC_REQ_ACCEPT_ENCODING
See Also:
Constant Field Values

SC_REQ_ACCEPT_LANGUAGE

public static final int SC_REQ_ACCEPT_LANGUAGE
See Also:
Constant Field Values

SC_REQ_AUTHORIZATION

public static final int SC_REQ_AUTHORIZATION
See Also:
Constant Field Values

SC_REQ_CONNECTION

public static final int SC_REQ_CONNECTION
See Also:
Constant Field Values

SC_REQ_CONTENT_TYPE

public static final int SC_REQ_CONTENT_TYPE
See Also:
Constant Field Values

SC_REQ_CONTENT_LENGTH

public static final int SC_REQ_CONTENT_LENGTH
See Also:
Constant Field Values

SC_REQ_COOKIE

public static final int SC_REQ_COOKIE
See Also:
Constant Field Values

SC_REQ_COOKIE2

public static final int SC_REQ_COOKIE2
See Also:
Constant Field Values

SC_REQ_HOST

public static final int SC_REQ_HOST
See Also:
Constant Field Values

SC_REQ_PRAGMA

public static final int SC_REQ_PRAGMA
See Also:
Constant Field Values

SC_REQ_REFERER

public static final int SC_REQ_REFERER
See Also:
Constant Field Values

SC_REQ_USER_AGENT

public static final int SC_REQ_USER_AGENT
See Also:
Constant Field Values

SC_A_SSL_KEY_SIZE

public static final byte SC_A_SSL_KEY_SIZE
See Also:
Constant Field Values

headerTransArray

public static final java.lang.String[] headerTransArray

responseTransArray

public static final java.lang.String[] responseTransArray

CRLF

public static final java.lang.String CRLF
CRLF.

See Also:
Constant Field Values

SERVER_BYTES

public static final byte[] SERVER_BYTES
Server string.


CR

public static final byte CR
CR.

See Also:
Constant Field Values

LF

public static final byte LF
LF.

See Also:
Constant Field Values

SP

public static final byte SP
SP.

See Also:
Constant Field Values

HT

public static final byte HT
HT.

See Also:
Constant Field Values

COLON

public static final byte COLON
COLON.

See Also:
Constant Field Values

A

public static final byte A
'A'.

See Also:
Constant Field Values

a

public static final byte a
'a'.

See Also:
Constant Field Values

Z

public static final byte Z
'Z'.

See Also:
Constant Field Values

QUESTION

public static final byte QUESTION
'?'.

See Also:
Constant Field Values

LC_OFFSET

public static final byte LC_OFFSET
Lower case offset.

See Also:
Constant Field Values

DEFAULT_HTTP_HEADER_BUFFER_SIZE

public static final int DEFAULT_HTTP_HEADER_BUFFER_SIZE
Default HTTP header buffer size.

See Also:
Constant Field Values

CRLF_BYTES

public static final byte[] CRLF_BYTES

COLON_BYTES

public static final byte[] COLON_BYTES

CONNECTION

public static final java.lang.String CONNECTION
See Also:
Constant Field Values

CLOSE

public static final java.lang.String CLOSE
See Also:
Constant Field Values

CLOSE_BYTES

public static final byte[] CLOSE_BYTES

KEEPALIVE

public static final java.lang.String KEEPALIVE
See Also:
Constant Field Values

KEEPALIVE_BYTES

public static final byte[] KEEPALIVE_BYTES

CHUNKED

public static final java.lang.String CHUNKED
See Also:
Constant Field Values

ACK_BYTES

public static final byte[] ACK_BYTES

TRANSFERENCODING

public static final java.lang.String TRANSFERENCODING
See Also:
Constant Field Values

_200_BYTES

public static final byte[] _200_BYTES

_400_BYTES

public static final byte[] _400_BYTES

_404_BYTES

public static final byte[] _404_BYTES

IDENTITY_FILTER

public static final int IDENTITY_FILTER
Identity filters (input and output).

See Also:
Constant Field Values

CHUNKED_FILTER

public static final int CHUNKED_FILTER
Chunked filters (input and output).

See Also:
Constant Field Values

VOID_FILTER

public static final int VOID_FILTER
Void filters (input and output).

See Also:
Constant Field Values

GZIP_FILTER

public static final int GZIP_FILTER
GZIP filter (output).

See Also:
Constant Field Values

BUFFERED_FILTER

public static final int BUFFERED_FILTER
Buffered filter (input)

See Also:
Constant Field Values

HTTP_10

public static final java.lang.String HTTP_10
HTTP/1.0.

See Also:
Constant Field Values

HTTP_11

public static final java.lang.String HTTP_11
HTTP/1.1.

See Also:
Constant Field Values

HTTP_11_BYTES

public static final byte[] HTTP_11_BYTES

GET

public static final java.lang.String GET
GET.

See Also:
Constant Field Values

HEAD

public static final java.lang.String HEAD
HEAD.

See Also:
Constant Field Values

POST

public static final java.lang.String POST
POST.

See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()
Method Detail

getResponseAjpIndex

public static final int getResponseAjpIndex(java.lang.String header)

Apache Tomcat 6.0.53

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