org.apache.coyote.ajp

Class Constants

public final class Constants extends Object

Constants.

Author: Remy Maucherat

Field Summary
static byteA
'A'.
static byte[]ACK_BYTES
static bytea
'a'.
static intBUFFERED_FILTER
Buffered filter (input)
static StringCHUNKED
static intCHUNKED_FILTER
Chunked filters (input and output).
static StringCLOSE
static byte[]CLOSE_BYTES
static byteCOLON
COLON.
static byte[]COLON_BYTES
static StringCONNECTION
static byteCR
CR.
static StringCRLF
CRLF.
static byte[]CRLF_BYTES
static intDEFAULT_CONNECTION_LINGER
static intDEFAULT_CONNECTION_TIMEOUT
static intDEFAULT_CONNECTION_UPLOAD_TIMEOUT
static intDEFAULT_HTTP_HEADER_BUFFER_SIZE
Default HTTP header buffer size.
static intDEFAULT_SERVER_SOCKET_TIMEOUT
static booleanDEFAULT_TCP_NO_DELAY
static StringGET
GET.
static intGZIP_FILTER
GZIP filter (output).
static String[]headerTransArray
static StringHEAD
HEAD.
static byteHT
HT.
static StringHTTP_10
HTTP/1.0.
static StringHTTP_11
HTTP/1.1.
static byte[]HTTP_11_BYTES
static intH_SIZE
Size of basic packet header
static intIDENTITY_FILTER
Identity filters (input and output).
static byteJK_AJP13_CPING_REQUEST
static byteJK_AJP13_CPONG_REPLY
static byteJK_AJP13_END_RESPONSE
static byteJK_AJP13_FORWARD_REQUEST
static byteJK_AJP13_GET_BODY_CHUNK
static byteJK_AJP13_PING_REQUEST
static byteJK_AJP13_SEND_BODY_CHUNK
static byteJK_AJP13_SEND_HEADERS
static byteJK_AJP13_SHUTDOWN
static StringKEEPALIVE
static byte[]KEEPALIVE_BYTES
static byteLC_OFFSET
Lower case offset.
static byteLF
LF.
static String[]methodTransArray
static intMAX_PACKET_SIZE
Default maximum total byte size for a AJP packet
static intMAX_READ_SIZE
Default maximum size of data that can be sent in one packet
static intMAX_SEND_SIZE
static StringPackage
Package name.
static StringPOST
POST.
static byteQUESTION
'?
static String[]responseTransArray
static intREAD_HEAD_LEN
Size of the header metadata
static byteSC_A_ARE_DONE
static byteSC_A_AUTH_TYPE
static byteSC_A_CONTEXT
static byteSC_A_JVM_ROUTE
static byteSC_A_QUERY_STRING
static byteSC_A_REMOTE_USER
static byteSC_A_REQ_ATTRIBUTE
static StringSC_A_REQ_REMOTE_PORT
AJP private request attributes
static byteSC_A_SECRET
static byteSC_A_SERVLET_PATH
static byteSC_A_SSL_CERT
static byteSC_A_SSL_CIPHER
static byteSC_A_SSL_KEYSIZE
static byteSC_A_SSL_KEY_SIZE
static byteSC_A_SSL_SESSION
static byteSC_A_STORED_METHOD
static intSC_M_JK_STORED
static intSC_REQ_ACCEPT
static intSC_REQ_ACCEPT_CHARSET
static intSC_REQ_ACCEPT_ENCODING
static intSC_REQ_ACCEPT_LANGUAGE
static intSC_REQ_AUTHORIZATION
static intSC_REQ_CONNECTION
static intSC_REQ_CONTENT_LENGTH
static intSC_REQ_CONTENT_TYPE
static intSC_REQ_COOKIE
static intSC_REQ_COOKIE2
static intSC_REQ_HOST
static intSC_REQ_PRAGMA
static intSC_REQ_REFERER
static intSC_REQ_USER_AGENT
static intSC_RESP_AJP13_MAX
static intSC_RESP_CONTENT_LANGUAGE
static intSC_RESP_CONTENT_LENGTH
static intSC_RESP_CONTENT_TYPE
static intSC_RESP_DATE
static intSC_RESP_LAST_MODIFIED
static intSC_RESP_LOCATION
static intSC_RESP_SERVLET_ENGINE
static intSC_RESP_SET_COOKIE
static intSC_RESP_SET_COOKIE2
static intSC_RESP_STATUS
static intSC_RESP_WWW_AUTHENTICATE
static intSEND_HEAD_LEN
static byte[]SERVER_BYTES
Server string.
static byteSP
SP.
static StringTRANSFERENCODING
static intVOID_FILTER
Void filters (input and output).
static byteZ
'Z'.
static byte[]_200_BYTES
static byte[]_400_BYTES
static byte[]_404_BYTES
Method Summary
static intgetResponseAjpIndex(String header)

Field Detail

A

public static final byte A
'A'.

ACK_BYTES

public static final byte[] ACK_BYTES

a

public static final byte a
'a'.

BUFFERED_FILTER

public static final int BUFFERED_FILTER
Buffered filter (input)

CHUNKED

public static final String CHUNKED

CHUNKED_FILTER

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

CLOSE

public static final String CLOSE

CLOSE_BYTES

public static final byte[] CLOSE_BYTES

COLON

public static final byte COLON
COLON.

COLON_BYTES

public static final byte[] COLON_BYTES

CONNECTION

public static final String CONNECTION

CR

public static final byte CR
CR.

CRLF

public static final String CRLF
CRLF.

CRLF_BYTES

public static final byte[] CRLF_BYTES

DEFAULT_CONNECTION_LINGER

public static final int DEFAULT_CONNECTION_LINGER

DEFAULT_CONNECTION_TIMEOUT

public static final int DEFAULT_CONNECTION_TIMEOUT

DEFAULT_CONNECTION_UPLOAD_TIMEOUT

public static final int DEFAULT_CONNECTION_UPLOAD_TIMEOUT

DEFAULT_HTTP_HEADER_BUFFER_SIZE

public static final int DEFAULT_HTTP_HEADER_BUFFER_SIZE
Default HTTP header buffer size.

DEFAULT_SERVER_SOCKET_TIMEOUT

public static final int DEFAULT_SERVER_SOCKET_TIMEOUT

DEFAULT_TCP_NO_DELAY

public static final boolean DEFAULT_TCP_NO_DELAY

GET

public static final String GET
GET.

GZIP_FILTER

public static final int GZIP_FILTER
GZIP filter (output).

headerTransArray

public static final String[] headerTransArray

HEAD

public static final String HEAD
HEAD.

HT

public static final byte HT
HT.

HTTP_10

public static final String HTTP_10
HTTP/1.0.

HTTP_11

public static final String HTTP_11
HTTP/1.1.

HTTP_11_BYTES

public static final byte[] HTTP_11_BYTES

H_SIZE

public static final int H_SIZE
Size of basic packet header

IDENTITY_FILTER

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

JK_AJP13_CPING_REQUEST

public static final byte JK_AJP13_CPING_REQUEST

JK_AJP13_CPONG_REPLY

public static final byte JK_AJP13_CPONG_REPLY

JK_AJP13_END_RESPONSE

public static final byte JK_AJP13_END_RESPONSE

JK_AJP13_FORWARD_REQUEST

public static final byte JK_AJP13_FORWARD_REQUEST

JK_AJP13_GET_BODY_CHUNK

public static final byte JK_AJP13_GET_BODY_CHUNK

JK_AJP13_PING_REQUEST

public static final byte JK_AJP13_PING_REQUEST

JK_AJP13_SEND_BODY_CHUNK

public static final byte JK_AJP13_SEND_BODY_CHUNK

JK_AJP13_SEND_HEADERS

public static final byte JK_AJP13_SEND_HEADERS

JK_AJP13_SHUTDOWN

public static final byte JK_AJP13_SHUTDOWN

KEEPALIVE

public static final String KEEPALIVE

KEEPALIVE_BYTES

public static final byte[] KEEPALIVE_BYTES

LC_OFFSET

public static final byte LC_OFFSET
Lower case offset.

LF

public static final byte LF
LF.

methodTransArray

public static final String[] methodTransArray

MAX_PACKET_SIZE

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

MAX_READ_SIZE

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

MAX_SEND_SIZE

public static final int MAX_SEND_SIZE

Package

public static final String Package
Package name.

POST

public static final String POST
POST.

QUESTION

public static final byte QUESTION
'?'.

responseTransArray

public static final String[] responseTransArray

READ_HEAD_LEN

public static final int READ_HEAD_LEN
Size of the header metadata

SC_A_ARE_DONE

public static final byte SC_A_ARE_DONE

SC_A_AUTH_TYPE

public static final byte SC_A_AUTH_TYPE

SC_A_CONTEXT

public static final byte SC_A_CONTEXT

SC_A_JVM_ROUTE

public static final byte SC_A_JVM_ROUTE

SC_A_QUERY_STRING

public static final byte SC_A_QUERY_STRING

SC_A_REMOTE_USER

public static final byte SC_A_REMOTE_USER

SC_A_REQ_ATTRIBUTE

public static final byte SC_A_REQ_ATTRIBUTE

SC_A_REQ_REMOTE_PORT

public static final String SC_A_REQ_REMOTE_PORT
AJP private request attributes

SC_A_SECRET

public static final byte SC_A_SECRET

SC_A_SERVLET_PATH

public static final byte SC_A_SERVLET_PATH

SC_A_SSL_CERT

public static final byte SC_A_SSL_CERT

SC_A_SSL_CIPHER

public static final byte SC_A_SSL_CIPHER

SC_A_SSL_KEYSIZE

public static final byte SC_A_SSL_KEYSIZE

SC_A_SSL_KEY_SIZE

public static final byte SC_A_SSL_KEY_SIZE

SC_A_SSL_SESSION

public static final byte SC_A_SSL_SESSION

SC_A_STORED_METHOD

public static final byte SC_A_STORED_METHOD

SC_M_JK_STORED

public static final int SC_M_JK_STORED

SC_REQ_ACCEPT

public static final int SC_REQ_ACCEPT

SC_REQ_ACCEPT_CHARSET

public static final int SC_REQ_ACCEPT_CHARSET

SC_REQ_ACCEPT_ENCODING

public static final int SC_REQ_ACCEPT_ENCODING

SC_REQ_ACCEPT_LANGUAGE

public static final int SC_REQ_ACCEPT_LANGUAGE

SC_REQ_AUTHORIZATION

public static final int SC_REQ_AUTHORIZATION

SC_REQ_CONNECTION

public static final int SC_REQ_CONNECTION

SC_REQ_CONTENT_LENGTH

public static final int SC_REQ_CONTENT_LENGTH

SC_REQ_CONTENT_TYPE

public static final int SC_REQ_CONTENT_TYPE

SC_REQ_COOKIE

public static final int SC_REQ_COOKIE

SC_REQ_COOKIE2

public static final int SC_REQ_COOKIE2

SC_REQ_HOST

public static final int SC_REQ_HOST

SC_REQ_PRAGMA

public static final int SC_REQ_PRAGMA

SC_REQ_REFERER

public static final int SC_REQ_REFERER

SC_REQ_USER_AGENT

public static final int SC_REQ_USER_AGENT

SC_RESP_AJP13_MAX

public static final int SC_RESP_AJP13_MAX

SC_RESP_CONTENT_LANGUAGE

public static final int SC_RESP_CONTENT_LANGUAGE

SC_RESP_CONTENT_LENGTH

public static final int SC_RESP_CONTENT_LENGTH

SC_RESP_CONTENT_TYPE

public static final int SC_RESP_CONTENT_TYPE

SC_RESP_DATE

public static final int SC_RESP_DATE

SC_RESP_LAST_MODIFIED

public static final int SC_RESP_LAST_MODIFIED

SC_RESP_LOCATION

public static final int SC_RESP_LOCATION

SC_RESP_SERVLET_ENGINE

public static final int SC_RESP_SERVLET_ENGINE

SC_RESP_SET_COOKIE

public static final int SC_RESP_SET_COOKIE

SC_RESP_SET_COOKIE2

public static final int SC_RESP_SET_COOKIE2

SC_RESP_STATUS

public static final int SC_RESP_STATUS

SC_RESP_WWW_AUTHENTICATE

public static final int SC_RESP_WWW_AUTHENTICATE

SEND_HEAD_LEN

public static final int SEND_HEAD_LEN

SERVER_BYTES

public static final byte[] SERVER_BYTES
Server string.

SP

public static final byte SP
SP.

TRANSFERENCODING

public static final String TRANSFERENCODING

VOID_FILTER

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

Z

public static final byte Z
'Z'.

_200_BYTES

public static final byte[] _200_BYTES

_400_BYTES

public static final byte[] _400_BYTES

_404_BYTES

public static final byte[] _404_BYTES

Method Detail

getResponseAjpIndex

public static final int getResponseAjpIndex(String header)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.