Top Description Fields Constructors Methods
org.glassfish.grizzly.http.ajp

public Class AjpConstants

extends Object
Class Inheritance

Common class for the AJP Protocol values

Field Summary

Modifier and TypeField and Description
public static final int
H_SIZE

Size of basic packet header

pack-priv static final String[]
headerTransArray

Translates integer codes to request header names

public static final byte
JK_AJP13_CPING_REQUEST

Message code for a CPing request

public static final byte
JK_AJP13_CPONG_REPLY

Response code to reply to a CPing

public static final byte
JK_AJP13_DATA

Message code for a Data chunk (not in standard, just for convenience)

public static final byte
JK_AJP13_END_RESPONSE

Response code for EOT

public static final byte
JK_AJP13_FORWARD_REQUEST

Message code for initial Request packet

public static final byte
JK_AJP13_GET_BODY_CHUNK

Response code to request the next Request body chunk

public static final byte
JK_AJP13_PING_REQUEST

Message code for a Ping request (obsolete)

public static final byte
JK_AJP13_SEND_BODY_CHUNK

Response code that the package is part of the Response body

public static final byte
JK_AJP13_SEND_HEADERS

Response code that the package is the HTTP headers

public static final byte
JK_AJP13_SHUTDOWN

Message code for a request to shutdown Tomcat

public static final int
MAX_PACKET_SIZE

Maximum Total byte size for a AJP packet

public static final int
MAX_SPEC_PACKET_SIZE

Maximum Total byte size for a AJP packet defined in the spec

pack-priv static final String[]
methodTransArray

Translates integer codes to names of HTTP methods

public static final byte
SC_A_ARE_DONE

Terminates list of attributes

public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
SC_A_REQ_ATTRIBUTE

Request Attribute is passed as a String

public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final int
SC_M_JK_STORED

Request Method is passed as a String

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final short
SUGGESTED_MAX_PAYLOAD_SIZE

Maximum size of data that can be sent in one packet

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

H_SIZEback to summary
public static final int H_SIZE

Size of basic packet header

headerTransArrayback to summary
pack-priv static final String[] headerTransArray

Translates integer codes to request header names

JK_AJP13_CPING_REQUESTback to summary
public static final byte JK_AJP13_CPING_REQUEST

Message code for a CPing request

JK_AJP13_CPONG_REPLYback to summary
public static final byte JK_AJP13_CPONG_REPLY

Response code to reply to a CPing

JK_AJP13_DATAback to summary
public static final byte JK_AJP13_DATA

Message code for a Data chunk (not in standard, just for convenience)

JK_AJP13_END_RESPONSEback to summary
public static final byte JK_AJP13_END_RESPONSE

Response code for EOT

JK_AJP13_FORWARD_REQUESTback to summary
public static final byte JK_AJP13_FORWARD_REQUEST

Message code for initial Request packet

JK_AJP13_GET_BODY_CHUNKback to summary
public static final byte JK_AJP13_GET_BODY_CHUNK

Response code to request the next Request body chunk

JK_AJP13_PING_REQUESTback to summary
public static final byte JK_AJP13_PING_REQUEST

Message code for a Ping request (obsolete)

JK_AJP13_SEND_BODY_CHUNKback to summary
public static final byte JK_AJP13_SEND_BODY_CHUNK

Response code that the package is part of the Response body

JK_AJP13_SEND_HEADERSback to summary
public static final byte JK_AJP13_SEND_HEADERS

Response code that the package is the HTTP headers

JK_AJP13_SHUTDOWNback to summary
public static final byte JK_AJP13_SHUTDOWN

Message code for a request to shutdown Tomcat

MAX_PACKET_SIZEback to summary
public static final int MAX_PACKET_SIZE

Maximum Total byte size for a AJP packet

MAX_SPEC_PACKET_SIZEback to summary
public static final int MAX_SPEC_PACKET_SIZE

Maximum Total byte size for a AJP packet defined in the spec

methodTransArrayback to summary
pack-priv static final String[] methodTransArray

Translates integer codes to names of HTTP methods

SC_A_ARE_DONEback to summary
public static final byte SC_A_ARE_DONE

Terminates list of attributes

SC_A_AUTH_TYPEback to summary
public static final byte SC_A_AUTH_TYPE
SC_A_CONTEXTback to summary
public static final byte SC_A_CONTEXT
SC_A_JVM_ROUTEback to summary
public static final byte SC_A_JVM_ROUTE
SC_A_QUERY_STRINGback to summary
public static final byte SC_A_QUERY_STRING
SC_A_REMOTE_USERback to summary
public static final byte SC_A_REMOTE_USER
SC_A_REQ_ATTRIBUTEback to summary
public static final byte SC_A_REQ_ATTRIBUTE

Request Attribute is passed as a String

SC_A_SECRETback to summary
public static final byte SC_A_SECRET
SC_A_SERVLET_PATHback to summary
public static final byte SC_A_SERVLET_PATH
SC_A_SSL_CERTback to summary
public static final byte SC_A_SSL_CERT
SC_A_SSL_CIPHERback to summary
public static final byte SC_A_SSL_CIPHER
SC_A_SSL_KEY_SIZEback to summary
public static final byte SC_A_SSL_KEY_SIZE
SC_A_SSL_KEYSIZEback to summary
public static final byte SC_A_SSL_KEYSIZE
SC_A_SSL_SESSIONback to summary
public static final byte SC_A_SSL_SESSION
SC_A_STORED_METHODback to summary
public static final byte SC_A_STORED_METHOD
SC_M_JK_STOREDback to summary
public static final int SC_M_JK_STORED

Request Method is passed as a String

SC_REQ_ACCEPTback to summary
public static final int SC_REQ_ACCEPT
SC_REQ_ACCEPT_CHARSETback to summary
public static final int SC_REQ_ACCEPT_CHARSET
SC_REQ_ACCEPT_ENCODINGback to summary
public static final int SC_REQ_ACCEPT_ENCODING
SC_REQ_ACCEPT_LANGUAGEback to summary
public static final int SC_REQ_ACCEPT_LANGUAGE
SC_REQ_AUTHORIZATIONback to summary
public static final int SC_REQ_AUTHORIZATION
SC_REQ_CONNECTIONback to summary
public static final int SC_REQ_CONNECTION
SC_REQ_CONTENT_LENGTHback to summary
public static final int SC_REQ_CONTENT_LENGTH
SC_REQ_CONTENT_TYPEback to summary
public static final int SC_REQ_CONTENT_TYPE
SC_REQ_COOKIE2back to summary
public static final int SC_REQ_COOKIE2
SC_REQ_HOSTback to summary
public static final int SC_REQ_HOST
SC_REQ_PRAGMAback to summary
public static final int SC_REQ_PRAGMA
SC_REQ_REFERERback to summary
public static final int SC_REQ_REFERER
SC_REQ_USER_AGENTback to summary
public static final int SC_REQ_USER_AGENT
SC_RESP_CONTENT_LANGUAGEback to summary
public static final int SC_RESP_CONTENT_LANGUAGE
SC_RESP_CONTENT_LENGTHback to summary
public static final int SC_RESP_CONTENT_LENGTH
SC_RESP_CONTENT_TYPEback to summary
public static final int SC_RESP_CONTENT_TYPE
SC_RESP_DATEback to summary
public static final int SC_RESP_DATE
SC_RESP_LAST_MODIFIEDback to summary
public static final int SC_RESP_LAST_MODIFIED
SC_RESP_LOCATIONback to summary
public static final int SC_RESP_LOCATION
SC_RESP_SERVLET_ENGINEback to summary
public static final int SC_RESP_SERVLET_ENGINE
SC_RESP_SET_COOKIE2back to summary
public static final int SC_RESP_SET_COOKIE2
SC_RESP_STATUSback to summary
public static final int SC_RESP_STATUS
SC_RESP_WWW_AUTHENTICATEback to summary
public static final int SC_RESP_WWW_AUTHENTICATE
SUGGESTED_MAX_PAYLOAD_SIZEback to summary
public static final short SUGGESTED_MAX_PAYLOAD_SIZE

Maximum size of data that can be sent in one packet

Constructor Detail

AjpConstantsback to summary
public AjpConstants()