org.glassfish.grizzly.http.server
Class Constants

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

public final class Constants
extends java.lang.Object

Constants. Inspired from class com.glassfish.grizzly.tcp.http11.Constants TODO: A lot of this is duplicated in com.glassfish.grizzly.Constants - clean up

Author:
Jean-Francois Arcand

Field Summary
static byte[] _200_BYTES
           
static byte[] _400_BYTES
           
static byte[] _404_BYTES
           
static byte a
          'a'.
static byte A
          'A'.
static byte[] ACK_BYTES
           
static java.lang.String AUTHORIZATION_HEADER
          Default header names.
static int BUFFERED_FILTER
          Buffered filter (input)
static java.lang.String CHUNKED
           
static int CHUNKED_FILTER
          Chunked filters (input and output).
static java.lang.String CLOSE
           
static byte[] CLOSE_BYTES
           
static byte COLON
          COLON.
static byte[] COLON_BYTES
           
static java.lang.String CONNECTION
           
static byte CR
          CR.
static java.lang.String CRLF
          CRLF.
static byte[] CRLF_BYTES
           
static java.lang.String DEFAULT_CHARACTER_ENCODING
           
static int DEFAULT_CONNECTION_LINGER
           
static int DEFAULT_CONNECTION_UPLOAD_TIMEOUT
           
static int DEFAULT_HEADER_SIZE
          Default request header size
static int DEFAULT_HTTP_HEADER_BUFFER_SIZE
          Default HTTP header buffer size.
static int DEFAULT_MAX_DISPATCH_DEPTH
           
static int DEFAULT_QUEUE_SIZE
          Default queue in bytes size.
static boolean DEFAULT_RECYCLE
          Default recycle value.
static int DEFAULT_REQUEST_BUFFER_SIZE
          Default request buffer size
static java.lang.String DEFAULT_RESPONSE_TYPE
          The default response-type
static int DEFAULT_SERVER_SOCKET_TIMEOUT
           
static boolean DEFAULT_TCP_NO_DELAY
           
static int DEFAULT_TIMEOUT
          Default transaction time out.
static java.lang.String FORCED_REQUEST_TYPE
          The forced request-type
static java.lang.String GET
          GET.
static int GZIP_FILTER
          GZIP filter (output).
static java.lang.String HEAD
          HEAD.
static byte HT
          HT.
static java.lang.String HTTP_10
          HTTP/1.0.
static java.lang.String HTTP_11
          HTTP/1.1.
static byte[] HTTP_11_BYTES
           
static int IDENTITY_FILTER
          Identity filters (input and output).
static java.lang.String JROUTE_COOKIE
           
static java.lang.String KEEPALIVE
           
static byte[] KEEPALIVE_BYTES
           
static byte LC_OFFSET
          Lower case offset.
static byte LF
          LF.
static int MAX_AGE_IN_SECONDS
           
static int MAX_CACHE_ENTRIES
           
static long MAX_LARGE_FILE_CACHE_SIZE
           
static java.lang.String Package
          Package name.
static java.lang.String POST
          POST.
static java.lang.String PROXY_JROUTE
           
static byte QUESTION
          '?'.
static java.lang.String SESSION_COOKIE_NAME
          The name of the cookie used to pass the session identifier back and forth with the client.
static java.lang.String SESSION_COOKIE_PATTERN
           
static byte SP
          SP.
static java.lang.String TRANSFERENCODING
           
static int VOID_FILTER
          Void filters (input and output).
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

Package

public static final java.lang.String Package
Package name.

See Also:
Constant Field Values

SESSION_COOKIE_NAME

public static final java.lang.String SESSION_COOKIE_NAME
The name of the cookie used to pass the session identifier back and forth with the client.

See Also:
Constant Field Values

SESSION_COOKIE_PATTERN

public static final java.lang.String SESSION_COOKIE_PATTERN
See Also:
Constant Field Values

DEFAULT_CONNECTION_LINGER

public static final int DEFAULT_CONNECTION_LINGER
See Also:
Constant Field Values

DEFAULT_CONNECTION_UPLOAD_TIMEOUT

public static final int DEFAULT_CONNECTION_UPLOAD_TIMEOUT
See Also:
Constant Field Values

DEFAULT_SERVER_SOCKET_TIMEOUT

public static final int DEFAULT_SERVER_SOCKET_TIMEOUT
See Also:
Constant Field Values

DEFAULT_TCP_NO_DELAY

public static final boolean DEFAULT_TCP_NO_DELAY
See Also:
Constant Field Values

DEFAULT_RESPONSE_TYPE

public static final java.lang.String DEFAULT_RESPONSE_TYPE
The default response-type

See Also:
Constant Field Values

FORCED_REQUEST_TYPE

public static final java.lang.String FORCED_REQUEST_TYPE
The forced request-type

See Also:
Constant Field Values

DEFAULT_TIMEOUT

public static final int DEFAULT_TIMEOUT
Default transaction time out.

See Also:
Constant Field Values

DEFAULT_REQUEST_BUFFER_SIZE

public static final int DEFAULT_REQUEST_BUFFER_SIZE
Default request buffer size

See Also:
Constant Field Values

DEFAULT_HEADER_SIZE

public static final int DEFAULT_HEADER_SIZE
Default request header size

See Also:
Constant Field Values

DEFAULT_RECYCLE

public static final boolean DEFAULT_RECYCLE
Default recycle value.

See Also:
Constant Field Values

DEFAULT_QUEUE_SIZE

public static final int DEFAULT_QUEUE_SIZE
Default queue in bytes size.

See Also:
Constant Field Values

CRLF

public static final java.lang.String CRLF
CRLF.

See Also:
Constant Field Values

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

COLON

public static final byte COLON
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_BYTES

public static final byte[] CRLF_BYTES

COLON_BYTES

public static final byte[] COLON_BYTES

CONNECTION

public static final java.lang.String CONNECTION
See Also:
Constant Field Values

CLOSE

public static final java.lang.String CLOSE
See Also:
Constant Field Values

CLOSE_BYTES

public static final byte[] CLOSE_BYTES

KEEPALIVE

public static final java.lang.String KEEPALIVE
See Also:
Constant Field Values

KEEPALIVE_BYTES

public static final byte[] KEEPALIVE_BYTES

CHUNKED

public static final java.lang.String CHUNKED
See Also:
Constant Field Values

ACK_BYTES

public static final byte[] ACK_BYTES

TRANSFERENCODING

public static final java.lang.String TRANSFERENCODING
See Also:
Constant Field Values

_200_BYTES

public static final byte[] _200_BYTES

_400_BYTES

public static final byte[] _400_BYTES

_404_BYTES

public static final byte[] _404_BYTES

IDENTITY_FILTER

public static final int IDENTITY_FILTER
Identity filters (input and output).

See Also:
Constant Field Values

CHUNKED_FILTER

public static final int CHUNKED_FILTER
Chunked filters (input and output).

See Also:
Constant Field Values

VOID_FILTER

public static final int VOID_FILTER
Void filters (input and output).

See Also:
Constant Field Values

GZIP_FILTER

public static final int GZIP_FILTER
GZIP filter (output).

See Also:
Constant Field Values

BUFFERED_FILTER

public static final int BUFFERED_FILTER
Buffered filter (input)

See Also:
Constant Field Values

HTTP_10

public static final java.lang.String HTTP_10
HTTP/1.0.

See Also:
Constant Field Values

HTTP_11

public static final java.lang.String HTTP_11
HTTP/1.1.

See Also:
Constant Field Values

HTTP_11_BYTES

public static final byte[] HTTP_11_BYTES

GET

public static final java.lang.String GET
GET.

See Also:
Constant Field Values

HEAD

public static final java.lang.String HEAD
HEAD.

See Also:
Constant Field Values

POST

public static final java.lang.String POST
POST.

See Also:
Constant Field Values

MAX_CACHE_ENTRIES

public static final int MAX_CACHE_ENTRIES
See Also:
Constant Field Values

MAX_LARGE_FILE_CACHE_SIZE

public static final long MAX_LARGE_FILE_CACHE_SIZE
See Also:
Constant Field Values

MAX_AGE_IN_SECONDS

public static final int MAX_AGE_IN_SECONDS
See Also:
Constant Field Values

DEFAULT_MAX_DISPATCH_DEPTH

public static final int DEFAULT_MAX_DISPATCH_DEPTH
See Also:
Constant Field Values

AUTHORIZATION_HEADER

public static final java.lang.String AUTHORIZATION_HEADER
Default header names.

See Also:
Constant Field Values

DEFAULT_CHARACTER_ENCODING

public static final java.lang.String DEFAULT_CHARACTER_ENCODING
See Also:
Constant Field Values

JROUTE_COOKIE

public static final java.lang.String JROUTE_COOKIE
See Also:
Constant Field Values

PROXY_JROUTE

public static final java.lang.String PROXY_JROUTE
See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()


Copyright © 2011 Oracle Corpration. All Rights Reserved.