org.jboss.netty.handler.codec.http2
Class HttpPostBodyUtil

java.lang.Object
  extended by org.jboss.netty.handler.codec.http2.HttpPostBodyUtil

public class HttpPostBodyUtil
extends Object

Shared Static object between HttpMessageDecoder, HttpPostRequestDecoder and HttpPostRequestEncoder

Author:
The Netty Project, Andy Taylor (andy.taylor@jboss.org), Trustin Lee, Frederic Bregier

Nested Class Summary
static class HttpPostBodyUtil.TransferEncodingMechanism
          Allowed mechanism for multipart mechanism := "7bit" / "8bit" / "binary" Not allowed: "quoted-printable" / "base64"
 
Field Summary
static String ATTACHMENT
          Content-disposition value for file attachment.
static int chunkSize
           
static String CONTENT_DISPOSITION
          HTTP content disposition header name.
static String DEFAULT_BINARY_CONTENT_TYPE
          Default Content-Type in binary form
static String DEFAULT_TEXT_CONTENT_TYPE
          Default Content-Type in Text form
static String FILE
          Content-disposition value for file attachment.
static String FILENAME
           
static String FORM_DATA
          Content-disposition value for form data.
static Charset ISO_8859_1
          Charset for 8BIT
static String MULTIPART_MIXED
          HTTP content type body attribute for multiple uploads.
static String NAME
           
static Charset US_ASCII
          Charset for 7BIT
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chunkSize

public static int chunkSize

CONTENT_DISPOSITION

public static final String CONTENT_DISPOSITION
HTTP content disposition header name.

See Also:
Constant Field Values

NAME

public static final String NAME
See Also:
Constant Field Values

FILENAME

public static final String FILENAME
See Also:
Constant Field Values

FORM_DATA

public static final String FORM_DATA
Content-disposition value for form data.

See Also:
Constant Field Values

ATTACHMENT

public static final String ATTACHMENT
Content-disposition value for file attachment.

See Also:
Constant Field Values

FILE

public static final String FILE
Content-disposition value for file attachment.

See Also:
Constant Field Values

MULTIPART_MIXED

public static final String MULTIPART_MIXED
HTTP content type body attribute for multiple uploads.

See Also:
Constant Field Values

ISO_8859_1

public static final Charset ISO_8859_1
Charset for 8BIT


US_ASCII

public static final Charset US_ASCII
Charset for 7BIT


DEFAULT_BINARY_CONTENT_TYPE

public static final String DEFAULT_BINARY_CONTENT_TYPE
Default Content-Type in binary form

See Also:
Constant Field Values

DEFAULT_TEXT_CONTENT_TYPE

public static final String DEFAULT_TEXT_CONTENT_TYPE
Default Content-Type in Text form

See Also:
Constant Field Values


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.