org.apache.jk.common

Class AjpConstants

public class AjpConstants extends Object

Common class for the AJP Protocol values
Field Summary
static String[]headerTransArray
Translates integer codes to request header names
static intH_SIZE
Size of basic packet header
static byteJK_AJP13_CPING_REQUEST
Message code for a CPing request
static byteJK_AJP13_CPONG_REPLY
Response code to reply to a CPing
static byteJK_AJP13_END_RESPONSE
Response code for EOT
static byteJK_AJP13_FORWARD_REQUEST
Message code for initial Request packet
static byteJK_AJP13_GET_BODY_CHUNK
Response code to request the next Request body chunk
static byteJK_AJP13_PING_REQUEST
Message code for a Ping request (obsolete)
static byteJK_AJP13_SEND_BODY_CHUNK
Response code that the package is part of the Response body
static byteJK_AJP13_SEND_HEADERS
Response code that the package is the HTTP headers
static byteJK_AJP13_SHUTDOWN
Message code for a request to shutdown Tomcat
static String[]methodTransArray
Translates integer codes to names of HTTP methods
static intMAX_PACKET_SIZE
Maximum Total byte size for a AJP packet
static intMAX_READ_SIZE
Maximum size of data that can be sent in one packet
static byteSC_A_ARE_DONE
Terminates list of attributes
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
Request Attribute is passed as a String
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
Request Method is passed as a String
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_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

Field Detail

headerTransArray

public static final String[] headerTransArray
Translates integer codes to request header names

H_SIZE

public static final int H_SIZE
Size of basic packet header

JK_AJP13_CPING_REQUEST

public static final byte JK_AJP13_CPING_REQUEST
Message code for a CPing request

JK_AJP13_CPONG_REPLY

public static final byte JK_AJP13_CPONG_REPLY
Response code to reply to a CPing

JK_AJP13_END_RESPONSE

public static final byte JK_AJP13_END_RESPONSE
Response code for EOT

JK_AJP13_FORWARD_REQUEST

public static final byte JK_AJP13_FORWARD_REQUEST
Message code for initial Request packet

JK_AJP13_GET_BODY_CHUNK

public static final byte JK_AJP13_GET_BODY_CHUNK
Response code to request the next Request body chunk

JK_AJP13_PING_REQUEST

public static final byte JK_AJP13_PING_REQUEST
Message code for a Ping request (obsolete)

JK_AJP13_SEND_BODY_CHUNK

public static final byte JK_AJP13_SEND_BODY_CHUNK
Response code that the package is part of the Response body

JK_AJP13_SEND_HEADERS

public static final byte JK_AJP13_SEND_HEADERS
Response code that the package is the HTTP headers

JK_AJP13_SHUTDOWN

public static final byte JK_AJP13_SHUTDOWN
Message code for a request to shutdown Tomcat

methodTransArray

public static final String[] methodTransArray
Translates integer codes to names of HTTP methods

MAX_PACKET_SIZE

public static final int MAX_PACKET_SIZE
Maximum Total byte size for a AJP packet

MAX_READ_SIZE

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

SC_A_ARE_DONE

public static final byte SC_A_ARE_DONE
Terminates list of attributes

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
Request Attribute is passed as a String

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
Request Method is passed as a String

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_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
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.