public final class Constants extends Object
Constructor and Description |
---|
Constants() |
Modifier and Type | Method and Description |
---|---|
static String |
getHeaderForCode(int code)
Converts an AJP coded HTTP request header to the header name.
|
static String |
getMethodForCode(int code)
Converts an AJP coded HTTP method to the method name.
|
static int |
getResponseAjpIndex(String header) |
static String |
getResponseHeaderForCode(int code)
Converts an AJP coded response header name to the HTTP response header name.
|
public static final String Package
public static final int DEFAULT_CONNECTION_LINGER
public static final int DEFAULT_CONNECTION_TIMEOUT
public static final boolean DEFAULT_TCP_NO_DELAY
public static final byte JK_AJP13_FORWARD_REQUEST
public static final byte JK_AJP13_SHUTDOWN
public static final byte JK_AJP13_PING_REQUEST
public static final byte JK_AJP13_CPING_REQUEST
public static final byte JK_AJP13_SEND_BODY_CHUNK
public static final byte JK_AJP13_SEND_HEADERS
public static final byte JK_AJP13_END_RESPONSE
public static final byte JK_AJP13_GET_BODY_CHUNK
public static final byte JK_AJP13_CPONG_REPLY
public static final int SC_RESP_CONTENT_TYPE
public static final int SC_RESP_CONTENT_LANGUAGE
public static final int SC_RESP_CONTENT_LENGTH
public static final int SC_RESP_DATE
public static final int SC_RESP_LAST_MODIFIED
public static final int SC_RESP_LOCATION
public static final int SC_RESP_SET_COOKIE
public static final int SC_RESP_SET_COOKIE2
public static final int SC_RESP_SERVLET_ENGINE
public static final int SC_RESP_STATUS
public static final int SC_RESP_WWW_AUTHENTICATE
public static final int SC_RESP_AJP13_MAX
public static final byte SC_A_CONTEXT
public static final byte SC_A_SERVLET_PATH
public static final byte SC_A_REMOTE_USER
public static final byte SC_A_AUTH_TYPE
public static final byte SC_A_QUERY_STRING
public static final byte SC_A_JVM_ROUTE
public static final byte SC_A_SSL_CERT
public static final byte SC_A_SSL_CIPHER
public static final byte SC_A_SSL_SESSION
public static final byte SC_A_SSL_KEY_SIZE
public static final byte SC_A_SECRET
public static final byte SC_A_STORED_METHOD
public static final byte SC_A_REQ_ATTRIBUTE
public static final String SC_A_REQ_LOCAL_ADDR
public static final String SC_A_REQ_REMOTE_PORT
public static final byte SC_A_ARE_DONE
public static final int MAX_PACKET_SIZE
public static final int H_SIZE
public static final int READ_HEAD_LEN
public static final int SEND_HEAD_LEN
public static final int MAX_READ_SIZE
public static final int MAX_SEND_SIZE
public static final int SC_M_JK_STORED
public static final int SC_REQ_ACCEPT
public static final int SC_REQ_ACCEPT_CHARSET
public static final int SC_REQ_ACCEPT_ENCODING
public static final int SC_REQ_ACCEPT_LANGUAGE
public static final int SC_REQ_AUTHORIZATION
public static final int SC_REQ_CONNECTION
public static final int SC_REQ_CONTENT_TYPE
public static final int SC_REQ_CONTENT_LENGTH
public static final int SC_REQ_COOKIE
public static final int SC_REQ_COOKIE2
public static final int SC_REQ_HOST
public static final int SC_REQ_PRAGMA
public static final int SC_REQ_REFERER
public static final int SC_REQ_USER_AGENT
public static final String getMethodForCode(int code)
code
- the coded valuepublic static final String getHeaderForCode(int code)
code
- the coded valuepublic static final String getResponseHeaderForCode(int code)
code
- the coded valuepublic static final int getResponseAjpIndex(String header)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.