Package org.apache.coyote.ajp
Class Constants
- java.lang.Object
- 
- org.apache.coyote.ajp.Constants
 
- 
 public final class Constants extends java.lang.ObjectConstants.- Author:
- Remy Maucherat
 
- 
- 
Field Summary
 - 
Constructor SummaryConstructors Constructor Description Constants()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetHeaderForCode(int code)Converts an AJP coded HTTP request header to the header name.static java.lang.StringgetMethodForCode(int code)Converts an AJP coded HTTP method to the method name.static intgetResponseAjpIndex(java.lang.String header)static java.lang.StringgetResponseHeaderForCode(int code)Converts an AJP coded response header name to the HTTP response header name.
 
- 
- 
- 
Field Detail- 
DEFAULT_CONNECTION_TIMEOUTpublic static final int DEFAULT_CONNECTION_TIMEOUT - See Also:
- Constant Field Values
 
 - 
JK_AJP13_FORWARD_REQUESTpublic static final byte JK_AJP13_FORWARD_REQUEST - See Also:
- Constant Field Values
 
 - 
JK_AJP13_SHUTDOWNpublic static final byte JK_AJP13_SHUTDOWN - See Also:
- Constant Field Values
 
 - 
JK_AJP13_PING_REQUESTpublic static final byte JK_AJP13_PING_REQUEST - See Also:
- Constant Field Values
 
 - 
JK_AJP13_CPING_REQUESTpublic static final byte JK_AJP13_CPING_REQUEST - See Also:
- Constant Field Values
 
 - 
JK_AJP13_SEND_BODY_CHUNKpublic static final byte JK_AJP13_SEND_BODY_CHUNK - See Also:
- Constant Field Values
 
 - 
JK_AJP13_SEND_HEADERSpublic static final byte JK_AJP13_SEND_HEADERS - See Also:
- Constant Field Values
 
 - 
JK_AJP13_END_RESPONSEpublic static final byte JK_AJP13_END_RESPONSE - See Also:
- Constant Field Values
 
 - 
JK_AJP13_GET_BODY_CHUNKpublic static final byte JK_AJP13_GET_BODY_CHUNK - See Also:
- Constant Field Values
 
 - 
JK_AJP13_CPONG_REPLYpublic static final byte JK_AJP13_CPONG_REPLY - See Also:
- Constant Field Values
 
 - 
SC_RESP_CONTENT_TYPEpublic static final int SC_RESP_CONTENT_TYPE - See Also:
- Constant Field Values
 
 - 
SC_RESP_CONTENT_LANGUAGEpublic static final int SC_RESP_CONTENT_LANGUAGE - See Also:
- Constant Field Values
 
 - 
SC_RESP_CONTENT_LENGTHpublic static final int SC_RESP_CONTENT_LENGTH - See Also:
- Constant Field Values
 
 - 
SC_RESP_DATEpublic static final int SC_RESP_DATE - See Also:
- Constant Field Values
 
 - 
SC_RESP_LAST_MODIFIEDpublic static final int SC_RESP_LAST_MODIFIED - See Also:
- Constant Field Values
 
 - 
SC_RESP_LOCATIONpublic static final int SC_RESP_LOCATION - See Also:
- Constant Field Values
 
 - 
SC_RESP_SET_COOKIEpublic static final int SC_RESP_SET_COOKIE - See Also:
- Constant Field Values
 
 - 
SC_RESP_SET_COOKIE2public static final int SC_RESP_SET_COOKIE2 - See Also:
- Constant Field Values
 
 - 
SC_RESP_SERVLET_ENGINEpublic static final int SC_RESP_SERVLET_ENGINE - See Also:
- Constant Field Values
 
 - 
SC_RESP_STATUSpublic static final int SC_RESP_STATUS - See Also:
- Constant Field Values
 
 - 
SC_RESP_WWW_AUTHENTICATEpublic static final int SC_RESP_WWW_AUTHENTICATE - See Also:
- Constant Field Values
 
 - 
SC_RESP_AJP13_MAXpublic static final int SC_RESP_AJP13_MAX - See Also:
- Constant Field Values
 
 - 
SC_A_CONTEXTpublic static final byte SC_A_CONTEXT - See Also:
- Constant Field Values
 
 - 
SC_A_SERVLET_PATHpublic static final byte SC_A_SERVLET_PATH - See Also:
- Constant Field Values
 
 - 
SC_A_REMOTE_USERpublic static final byte SC_A_REMOTE_USER - See Also:
- Constant Field Values
 
 - 
SC_A_AUTH_TYPEpublic static final byte SC_A_AUTH_TYPE - See Also:
- Constant Field Values
 
 - 
SC_A_QUERY_STRINGpublic static final byte SC_A_QUERY_STRING - See Also:
- Constant Field Values
 
 - 
SC_A_JVM_ROUTEpublic static final byte SC_A_JVM_ROUTE - See Also:
- Constant Field Values
 
 - 
SC_A_SSL_CERTpublic static final byte SC_A_SSL_CERT - See Also:
- Constant Field Values
 
 - 
SC_A_SSL_CIPHERpublic static final byte SC_A_SSL_CIPHER - See Also:
- Constant Field Values
 
 - 
SC_A_SSL_SESSIONpublic static final byte SC_A_SSL_SESSION - See Also:
- Constant Field Values
 
 - 
SC_A_SSL_KEY_SIZEpublic static final byte SC_A_SSL_KEY_SIZE - See Also:
- Constant Field Values
 
 - 
SC_A_SECRETpublic static final byte SC_A_SECRET - See Also:
- Constant Field Values
 
 - 
SC_A_STORED_METHODpublic static final byte SC_A_STORED_METHOD - See Also:
- Constant Field Values
 
 - 
SC_A_REQ_ATTRIBUTEpublic static final byte SC_A_REQ_ATTRIBUTE - See Also:
- Constant Field Values
 
 - 
SC_A_REQ_LOCAL_ADDRpublic static final java.lang.String SC_A_REQ_LOCAL_ADDR AJP private request attributes- See Also:
- Constant Field Values
 
 - 
SC_A_REQ_REMOTE_PORTpublic static final java.lang.String SC_A_REQ_REMOTE_PORT - See Also:
- Constant Field Values
 
 - 
SC_A_SSL_PROTOCOLpublic static final java.lang.String SC_A_SSL_PROTOCOL - See Also:
- Constant Field Values
 
 - 
SC_A_ARE_DONEpublic static final byte SC_A_ARE_DONE - See Also:
- Constant Field Values
 
 - 
MAX_PACKET_SIZEpublic static final int MAX_PACKET_SIZE Default maximum total byte size for an AJP packet- See Also:
- Constant Field Values
 
 - 
H_SIZEpublic static final int H_SIZE Size of basic packet header- See Also:
- Constant Field Values
 
 - 
READ_HEAD_LENpublic static final int READ_HEAD_LEN Size of the header metadata- See Also:
- Constant Field Values
 
 - 
SEND_HEAD_LENpublic static final int SEND_HEAD_LEN - See Also:
- Constant Field Values
 
 - 
MAX_READ_SIZEpublic 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_SIZEpublic static final int MAX_SEND_SIZE - See Also:
- Constant Field Values
 
 - 
SC_M_JK_STOREDpublic static final int SC_M_JK_STORED - See Also:
- Constant Field Values
 
 - 
SC_REQ_ACCEPTpublic static final int SC_REQ_ACCEPT - See Also:
- Constant Field Values
 
 - 
SC_REQ_ACCEPT_CHARSETpublic static final int SC_REQ_ACCEPT_CHARSET - See Also:
- Constant Field Values
 
 - 
SC_REQ_ACCEPT_ENCODINGpublic static final int SC_REQ_ACCEPT_ENCODING - See Also:
- Constant Field Values
 
 - 
SC_REQ_ACCEPT_LANGUAGEpublic static final int SC_REQ_ACCEPT_LANGUAGE - See Also:
- Constant Field Values
 
 - 
SC_REQ_AUTHORIZATIONpublic static final int SC_REQ_AUTHORIZATION - See Also:
- Constant Field Values
 
 - 
SC_REQ_CONNECTIONpublic static final int SC_REQ_CONNECTION - See Also:
- Constant Field Values
 
 - 
SC_REQ_CONTENT_TYPEpublic static final int SC_REQ_CONTENT_TYPE - See Also:
- Constant Field Values
 
 - 
SC_REQ_CONTENT_LENGTHpublic static final int SC_REQ_CONTENT_LENGTH - See Also:
- Constant Field Values
 
 - 
SC_REQ_COOKIEpublic static final int SC_REQ_COOKIE - See Also:
- Constant Field Values
 
 - 
SC_REQ_COOKIE2public static final int SC_REQ_COOKIE2 - See Also:
- Constant Field Values
 
 - 
SC_REQ_HOSTpublic static final int SC_REQ_HOST - See Also:
- Constant Field Values
 
 - 
SC_REQ_PRAGMApublic static final int SC_REQ_PRAGMA - See Also:
- Constant Field Values
 
 - 
SC_REQ_REFERERpublic static final int SC_REQ_REFERER - See Also:
- Constant Field Values
 
 - 
SC_REQ_USER_AGENTpublic static final int SC_REQ_USER_AGENT - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getMethodForCodepublic static final java.lang.String getMethodForCode(int code) Converts an AJP coded HTTP method to the method name.- Parameters:
- code- the coded value
- Returns:
- the string value of the method
 
 - 
getHeaderForCodepublic static final java.lang.String getHeaderForCode(int code) Converts an AJP coded HTTP request header to the header name.- Parameters:
- code- the coded value
- Returns:
- the string value of the header name
 
 - 
getResponseHeaderForCodepublic static final java.lang.String getResponseHeaderForCode(int code) Converts an AJP coded response header name to the HTTP response header name.- Parameters:
- code- the coded value
- Returns:
- the string value of the header
 
 - 
getResponseAjpIndexpublic static final int getResponseAjpIndex(java.lang.String header) 
 
- 
 
-