public final class Constants extends Object
Modifier and Type | Field and Description |
---|---|
static byte[] |
_200_BYTES
Deprecated.
Unused - will be removed in 8.0.x
|
static byte[] |
_400_BYTES
Deprecated.
Unused - will be removed in 8.0.x
|
static byte[] |
_404_BYTES
Deprecated.
Unused - will be removed in 8.0.x
|
static byte |
a
Deprecated.
Unused - will be removed in 8.0.x
|
static byte |
A
Deprecated.
Unused - will be removed in 8.0.x
|
static byte[] |
ACK_BYTES
Deprecated.
Unused - will be removed in 8.0.x
|
static int |
BUFFERED_FILTER
Deprecated.
Unused - will be removed in 8.0.x
|
static String |
CHUNKED
Deprecated.
Unused - will be removed in 8.0.x
|
static int |
CHUNKED_FILTER
Deprecated.
Unused - will be removed in 8.0.x
|
static String |
CLOSE
Deprecated.
Unused - will be removed in 8.0.x
|
static byte[] |
CLOSE_BYTES
Deprecated.
Unused - will be removed in 8.0.x
|
static byte |
COLON
Deprecated.
Unused - will be removed in 8.0.x
|
static byte[] |
COLON_BYTES
Deprecated.
Unused - will be removed in 8.0.x
|
static String |
CONNECTION
Deprecated.
Unused - will be removed in 8.0.x
|
static byte |
CR
Deprecated.
Unused - will be removed in 8.0.x
|
static String |
CRLF
Deprecated.
Unused - will be removed in 8.0.x
|
static byte[] |
CRLF_BYTES
Deprecated.
Unused - will be removed in 8.0.x
|
static int |
DEFAULT_CONNECTION_LINGER |
static int |
DEFAULT_CONNECTION_TIMEOUT |
static int |
DEFAULT_CONNECTION_UPLOAD_TIMEOUT
Deprecated.
Unused - will be removed in 8.0.x
|
static int |
DEFAULT_HTTP_HEADER_BUFFER_SIZE
Deprecated.
Unused - will be removed in 8.0.x
|
static boolean |
DEFAULT_TCP_NO_DELAY |
static boolean |
DEFAULT_USE_SENDFILE
Deprecated.
Unused - will be removed in 8.0.x
|
static String |
GET
Deprecated.
Unused - will be removed in 8.0.x
|
static int |
GZIP_FILTER
Deprecated.
Unused - will be removed in 8.0.x
|
static int |
H_SIZE
Size of basic packet header
|
static String |
HEAD
Deprecated.
Unused - will be removed in 8.0.x
|
static byte |
HT
Deprecated.
Unused - will be removed in 8.0.x
|
static String |
HTTP_10
Deprecated.
Unused - will be removed in 8.0.x
|
static String |
HTTP_11
Deprecated.
Unused - will be removed in 8.0.x
|
static byte[] |
HTTP_11_BYTES
Deprecated.
Unused - will be removed in 8.0.x
|
static int |
IDENTITY_FILTER
Deprecated.
Unused - will be removed in 8.0.x
|
static byte |
JK_AJP13_CPING_REQUEST |
static byte |
JK_AJP13_CPONG_REPLY |
static byte |
JK_AJP13_END_RESPONSE |
static byte |
JK_AJP13_FORWARD_REQUEST |
static byte |
JK_AJP13_GET_BODY_CHUNK |
static byte |
JK_AJP13_PING_REQUEST |
static byte |
JK_AJP13_SEND_BODY_CHUNK |
static byte |
JK_AJP13_SEND_HEADERS |
static byte |
JK_AJP13_SHUTDOWN |
static String |
KEEPALIVE
Deprecated.
Unused - will be removed in 8.0.x
|
static byte[] |
KEEPALIVE_BYTES
Deprecated.
Unused - will be removed in 8.0.x
|
static byte |
LC_OFFSET
Deprecated.
Unused - will be removed in 8.0.x
|
static byte |
LF
Deprecated.
Unused - will be removed in 8.0.x
|
static int |
MAX_PACKET_SIZE
Default maximum total byte size for an AJP packet
|
static int |
MAX_READ_SIZE
Default maximum size of data that can be sent in one packet
|
static int |
MAX_SEND_SIZE |
static String |
Package
Package name.
|
static String |
POST
Deprecated.
Unused - will be removed in 8.0.x
|
static byte |
QUESTION
Deprecated.
Unused - will be removed in 8.0.x
|
static int |
READ_HEAD_LEN
Size of the header metadata
|
static byte |
SC_A_ARE_DONE |
static byte |
SC_A_AUTH_TYPE |
static byte |
SC_A_CONTEXT |
static byte |
SC_A_JVM_ROUTE |
static byte |
SC_A_QUERY_STRING |
static byte |
SC_A_REMOTE_USER |
static byte |
SC_A_REQ_ATTRIBUTE |
static String |
SC_A_REQ_LOCAL_ADDR
AJP private request attributes
|
static String |
SC_A_REQ_REMOTE_PORT |
static byte |
SC_A_SECRET |
static byte |
SC_A_SERVLET_PATH |
static byte |
SC_A_SSL_CERT |
static byte |
SC_A_SSL_CIPHER |
static byte |
SC_A_SSL_KEY_SIZE |
static byte |
SC_A_SSL_KEYSIZE
Deprecated.
Unused - will be removed in 8.0.x
|
static String |
SC_A_SSL_PROTOCOL |
static byte |
SC_A_SSL_SESSION |
static byte |
SC_A_STORED_METHOD |
static int |
SC_M_JK_STORED |
static int |
SC_REQ_ACCEPT |
static int |
SC_REQ_ACCEPT_CHARSET |
static int |
SC_REQ_ACCEPT_ENCODING |
static int |
SC_REQ_ACCEPT_LANGUAGE |
static int |
SC_REQ_AUTHORIZATION |
static int |
SC_REQ_CONNECTION |
static int |
SC_REQ_CONTENT_LENGTH |
static int |
SC_REQ_CONTENT_TYPE |
static int |
SC_REQ_COOKIE |
static int |
SC_REQ_COOKIE2 |
static int |
SC_REQ_HOST |
static int |
SC_REQ_PRAGMA |
static int |
SC_REQ_REFERER |
static int |
SC_REQ_USER_AGENT |
static int |
SC_RESP_AJP13_MAX |
static int |
SC_RESP_CONTENT_LANGUAGE |
static int |
SC_RESP_CONTENT_LENGTH |
static int |
SC_RESP_CONTENT_TYPE |
static int |
SC_RESP_DATE |
static int |
SC_RESP_LAST_MODIFIED |
static int |
SC_RESP_LOCATION |
static int |
SC_RESP_SERVLET_ENGINE |
static int |
SC_RESP_SET_COOKIE |
static int |
SC_RESP_SET_COOKIE2 |
static int |
SC_RESP_STATUS |
static int |
SC_RESP_WWW_AUTHENTICATE |
static int |
SEND_HEAD_LEN |
static byte[] |
SERVER_BYTES
Deprecated.
Unused - will be removed in 8.0.x
|
static byte |
SP
Deprecated.
Unused - will be removed in 8.0.x
|
static String |
TRANSFERENCODING
Deprecated.
Unused - will be removed in 8.0.x
|
static int |
VOID_FILTER
Deprecated.
Unused - will be removed in 8.0.x
|
static byte |
Z
Deprecated.
Unused - will be removed in 8.0.x
|
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
@Deprecated public static final int DEFAULT_CONNECTION_UPLOAD_TIMEOUT
public static final boolean DEFAULT_TCP_NO_DELAY
@Deprecated public static final boolean DEFAULT_USE_SENDFILE
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
@Deprecated public static final byte SC_A_SSL_KEYSIZE
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 String SC_A_SSL_PROTOCOL
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
@Deprecated public static final String CRLF
@Deprecated public static final byte[] SERVER_BYTES
@Deprecated public static final byte CR
@Deprecated public static final byte LF
@Deprecated public static final byte SP
@Deprecated public static final byte HT
@Deprecated public static final byte COLON
@Deprecated public static final byte A
@Deprecated public static final byte a
@Deprecated public static final byte Z
@Deprecated public static final byte QUESTION
@Deprecated public static final byte LC_OFFSET
@Deprecated public static final int DEFAULT_HTTP_HEADER_BUFFER_SIZE
@Deprecated public static final byte[] CRLF_BYTES
@Deprecated public static final byte[] COLON_BYTES
@Deprecated public static final String CONNECTION
@Deprecated public static final String CLOSE
@Deprecated public static final byte[] CLOSE_BYTES
@Deprecated public static final String KEEPALIVE
@Deprecated public static final byte[] KEEPALIVE_BYTES
@Deprecated public static final String CHUNKED
@Deprecated public static final byte[] ACK_BYTES
@Deprecated public static final String TRANSFERENCODING
@Deprecated public static final byte[] _200_BYTES
@Deprecated public static final byte[] _400_BYTES
@Deprecated public static final byte[] _404_BYTES
@Deprecated public static final int IDENTITY_FILTER
@Deprecated public static final int CHUNKED_FILTER
@Deprecated public static final int VOID_FILTER
@Deprecated public static final int GZIP_FILTER
@Deprecated public static final int BUFFERED_FILTER
@Deprecated public static final String HTTP_10
@Deprecated public static final String HTTP_11
@Deprecated public static final byte[] HTTP_11_BYTES
@Deprecated public static final String GET
@Deprecated public static final String HEAD
@Deprecated public static final String POST
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-2021 Apache Software Foundation. All Rights Reserved.