org.glassfish.grizzly.http.util
Class Constants

java.lang.Object
  extended by org.glassfish.grizzly.http.util.Constants

public final class Constants
extends Object

Constants.

Author:
Remy Maucherat

Field Summary
static byte a
          'a'.
static byte A
          'A'.
static byte[] ACK_BYTES
          Ack string when pipelining HTTP requests.
static String AUTHORIZATION_HEADER
          Default header names.
static String CHUNKED_ENCODING
           
static byte[] CHUNKED_ENCODING_BYTES
           
static byte[] CLOSE_BYTES
          Close bytes.
static byte COLON
          COLON.
static byte[] COLON_BYTES
          Colon bytes.
static byte COMMA
          COMMA.
static String CONTENT_ENCODING_HEADER
           
static String CONTENT_LENGTH_HEADER
           
static byte[] CONTENT_LENGTH_HEADER_BYTES
           
static String CONTENT_TYPE_HEADER
           
static byte CR
          CR.
static String CRLF
          CRLF.
static byte[] CRLF_BYTES
          CRLF bytes.
static int DEFAULT_HTTP_HEADER_BUFFER_SIZE
          Default HTTP header buffer size.
static Locale DEFAULT_LOCALE
           
static int DEFAULT_MAX_DISPATCH_DEPTH
           
static int DEFAULT_MAX_KEEP_ALIVE
          Default max keep-alive count.
static String DEFAULT_RESPONSE_TYPE
          The default response-type
static String EXPECT_100_CONTINUE_NAME
           
static byte[] EXPECT_100_CONTINUE_NAME_BYTES
           
static String EXPECT_100_CONTINUE_VALUE
           
static byte[] EXPECT_100_CONTINUE_VALUE_BYTES
           
static String FORCED_RESPONSE_TYPE
          The forced response-type
static String FORM_POST_CONTENT_TYPE
           
static byte[] FORM_POST_CONTENT_TYPE_BYTES
           
static String GET
          GET.
static String HEAD
          HEAD.
static byte HT
          HT.
static String HTTP_10
          HTTP/1.0.
static String HTTP_11
          HTTP/1.1.
static String JROUTE_COOKIE
           
static int KEEP_ALIVE_TIMEOUT_IN_SECONDS
           
static byte[] KEEPALIVE_BYTES
          Keep-alive bytes.
static byte[] LAST_CHUNK_CRLF_BYTES
           
static byte LC_OFFSET
          Lower case offset.
static byte LF
          LF.
static String LOCALE_DEFAULT
           
static int MAX_AGE_IN_SECONDS
           
static int MAX_CACHE_ENTRIES
           
static int MAX_LARGE_FILE_CACHE_SIZE
           
static int MAX_NOTES
           
static String POST
          POST.
static int PROCESSOR_ACTIVE
           
static int PROCESSOR_IDLE
           
static String PROXY_JROUTE
           
static byte QUESTION
          '?'.
static boolean SECURITY
          Security flag.
static byte SEMI_COLON
          SEMI_COLON.
static byte SP
          SP.
static String SSL_CERTIFICATE_ATTR
          SSL Certificate Request Attributite.
static int STAGE_ENDED
           
static int STAGE_ENDINPUT
           
static int STAGE_ENDOUTPUT
           
static int STAGE_KEEPALIVE
           
static int STAGE_NEW
           
static int STAGE_PARSE
           
static int STAGE_PREPARE
           
static int STAGE_SERVICE
           
static String TRANSFER_ENCODING_HEADER
           
static byte[] TRANSFER_ENCODING_HEADER_BYTES
           
static String UPGRADE_HEADER
           
static byte[] UPGRADE_HEADER_BYTES
           
static byte Z
          'Z'.
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CR

public static final byte CR
CR.

See Also:
Constant Field Values

LF

public static final byte LF
LF.

See Also:
Constant Field Values

SP

public static final byte SP
SP.

See Also:
Constant Field Values

HT

public static final byte HT
HT.

See Also:
Constant Field Values

COMMA

public static final byte COMMA
COMMA.

See Also:
Constant Field Values

COLON

public static final byte COLON
COLON.

See Also:
Constant Field Values

SEMI_COLON

public static final byte SEMI_COLON
SEMI_COLON.

See Also:
Constant Field Values

A

public static final byte A
'A'.

See Also:
Constant Field Values

a

public static final byte a
'a'.

See Also:
Constant Field Values

Z

public static final byte Z
'Z'.

See Also:
Constant Field Values

QUESTION

public static final byte QUESTION
'?'.

See Also:
Constant Field Values

LC_OFFSET

public static final byte LC_OFFSET
Lower case offset.

See Also:
Constant Field Values

DEFAULT_HTTP_HEADER_BUFFER_SIZE

public static final int DEFAULT_HTTP_HEADER_BUFFER_SIZE
Default HTTP header buffer size.

See Also:
Constant Field Values

CRLF

public static final String CRLF
CRLF.

See Also:
Constant Field Values

CRLF_BYTES

public static final byte[] CRLF_BYTES
CRLF bytes.


COLON_BYTES

public static final byte[] COLON_BYTES
Colon bytes.


CLOSE_BYTES

public static final byte[] CLOSE_BYTES
Close bytes.


KEEPALIVE_BYTES

public static final byte[] KEEPALIVE_BYTES
Keep-alive bytes.


HTTP_10

public static final String HTTP_10
HTTP/1.0.

See Also:
Constant Field Values

HTTP_11

public static final String HTTP_11
HTTP/1.1.

See Also:
Constant Field Values

GET

public static final String GET
GET.

See Also:
Constant Field Values

HEAD

public static final String HEAD
HEAD.

See Also:
Constant Field Values

POST

public static final String POST
POST.

See Also:
Constant Field Values

ACK_BYTES

public static final byte[] ACK_BYTES
Ack string when pipelining HTTP requests.


PROCESSOR_IDLE

public static final int PROCESSOR_IDLE
See Also:
Constant Field Values

PROCESSOR_ACTIVE

public static final int PROCESSOR_ACTIVE
See Also:
Constant Field Values

AUTHORIZATION_HEADER

public static final String AUTHORIZATION_HEADER
Default header names.

See Also:
Constant Field Values

SSL_CERTIFICATE_ATTR

public static final String SSL_CERTIFICATE_ATTR
SSL Certificate Request Attributite.

See Also:
Constant Field Values

SECURITY

public static final boolean SECURITY
Security flag.


DEFAULT_MAX_DISPATCH_DEPTH

public static final int DEFAULT_MAX_DISPATCH_DEPTH
See Also:
Constant Field Values

DEFAULT_RESPONSE_TYPE

public static final String DEFAULT_RESPONSE_TYPE
The default response-type

See Also:
Constant Field Values

FORCED_RESPONSE_TYPE

public static final String FORCED_RESPONSE_TYPE
The forced response-type

See Also:
Constant Field Values

PROXY_JROUTE

public static final String PROXY_JROUTE
See Also:
Constant Field Values

JROUTE_COOKIE

public static final String JROUTE_COOKIE
See Also:
Constant Field Values

CONTENT_LENGTH_HEADER

public static final String CONTENT_LENGTH_HEADER
See Also:
Constant Field Values

CONTENT_LENGTH_HEADER_BYTES

public static final byte[] CONTENT_LENGTH_HEADER_BYTES

CONTENT_TYPE_HEADER

public static final String CONTENT_TYPE_HEADER
See Also:
Constant Field Values

TRANSFER_ENCODING_HEADER

public static final String TRANSFER_ENCODING_HEADER
See Also:
Constant Field Values

TRANSFER_ENCODING_HEADER_BYTES

public static final byte[] TRANSFER_ENCODING_HEADER_BYTES

CHUNKED_ENCODING

public static final String CHUNKED_ENCODING
See Also:
Constant Field Values

CHUNKED_ENCODING_BYTES

public static final byte[] CHUNKED_ENCODING_BYTES

UPGRADE_HEADER

public static final String UPGRADE_HEADER
See Also:
Constant Field Values

UPGRADE_HEADER_BYTES

public static final byte[] UPGRADE_HEADER_BYTES

LAST_CHUNK_CRLF_BYTES

public static final byte[] LAST_CHUNK_CRLF_BYTES

CONTENT_ENCODING_HEADER

public static final String CONTENT_ENCODING_HEADER
See Also:
Constant Field Values

EXPECT_100_CONTINUE_NAME

public static final String EXPECT_100_CONTINUE_NAME
See Also:
Constant Field Values

EXPECT_100_CONTINUE_NAME_BYTES

public static final byte[] EXPECT_100_CONTINUE_NAME_BYTES

EXPECT_100_CONTINUE_VALUE

public static final String EXPECT_100_CONTINUE_VALUE
See Also:
Constant Field Values

EXPECT_100_CONTINUE_VALUE_BYTES

public static final byte[] EXPECT_100_CONTINUE_VALUE_BYTES

FORM_POST_CONTENT_TYPE

public static final String FORM_POST_CONTENT_TYPE
See Also:
Constant Field Values

FORM_POST_CONTENT_TYPE_BYTES

public static final byte[] FORM_POST_CONTENT_TYPE_BYTES

KEEP_ALIVE_TIMEOUT_IN_SECONDS

public static final int KEEP_ALIVE_TIMEOUT_IN_SECONDS
See Also:
Constant Field Values

DEFAULT_MAX_KEEP_ALIVE

public static final int DEFAULT_MAX_KEEP_ALIVE
Default max keep-alive count.

See Also:
Constant Field Values

MAX_AGE_IN_SECONDS

public static final int MAX_AGE_IN_SECONDS
See Also:
Constant Field Values

MAX_LARGE_FILE_CACHE_SIZE

public static final int MAX_LARGE_FILE_CACHE_SIZE
See Also:
Constant Field Values

MAX_CACHE_ENTRIES

public static final int MAX_CACHE_ENTRIES
See Also:
Constant Field Values

LOCALE_DEFAULT

public static final String LOCALE_DEFAULT
See Also:
Constant Field Values

DEFAULT_LOCALE

public static final Locale DEFAULT_LOCALE

MAX_NOTES

public static final int MAX_NOTES
See Also:
Constant Field Values

STAGE_NEW

public static final int STAGE_NEW
See Also:
Constant Field Values

STAGE_PARSE

public static final int STAGE_PARSE
See Also:
Constant Field Values

STAGE_PREPARE

public static final int STAGE_PREPARE
See Also:
Constant Field Values

STAGE_SERVICE

public static final int STAGE_SERVICE
See Also:
Constant Field Values

STAGE_ENDINPUT

public static final int STAGE_ENDINPUT
See Also:
Constant Field Values

STAGE_ENDOUTPUT

public static final int STAGE_ENDOUTPUT
See Also:
Constant Field Values

STAGE_KEEPALIVE

public static final int STAGE_KEEPALIVE
See Also:
Constant Field Values

STAGE_ENDED

public static final int STAGE_ENDED
See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()


Copyright © 2011 Oracle Corpration. All Rights Reserved.