final class HttpPostBodyUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
HttpPostBodyUtil.SeekAheadNoBackArrayException
Exception when NO Backend Array is found
|
(package private) static class |
HttpPostBodyUtil.SeekAheadOptimize
This class intends to decrease the CPU in seeking ahead some bytes in
HttpPostRequestDecoder
|
static class |
HttpPostBodyUtil.TransferEncodingMechanism
Allowed mechanism for multipart
mechanism := "7bit"
/ "8bit"
/ "binary"
Not allowed: "quoted-printable"
/ "base64"
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTACHMENT
Content-disposition value for file attachment.
|
static int |
chunkSize |
static java.lang.String |
CONTENT_DISPOSITION
HTTP content disposition header name.
|
static java.lang.String |
DEFAULT_BINARY_CONTENT_TYPE
Default Content-Type in binary form
|
static java.lang.String |
DEFAULT_TEXT_CONTENT_TYPE
Default Content-Type in Text form
|
static java.lang.String |
FILE
Content-disposition value for file attachment.
|
static java.lang.String |
FILENAME |
static java.lang.String |
FORM_DATA
Content-disposition value for form data.
|
static java.nio.charset.Charset |
ISO_8859_1
Charset for 8BIT
|
static java.lang.String |
MULTIPART_MIXED
HTTP content type body attribute for multiple uploads.
|
static java.lang.String |
NAME |
static java.nio.charset.Charset |
US_ASCII
Charset for 7BIT
|
Modifier | Constructor and Description |
---|---|
private |
HttpPostBodyUtil() |
Modifier and Type | Method and Description |
---|---|
(package private) static int |
findEndOfString(java.lang.String sb)
Find the end of String
|
(package private) static int |
findNonWhitespace(java.lang.String sb,
int offset)
Find the first non whitespace
|
(package private) static int |
findWhitespace(java.lang.String sb,
int offset)
Find the first whitespace
|
public static final int chunkSize
public static final java.lang.String CONTENT_DISPOSITION
public static final java.lang.String NAME
public static final java.lang.String FILENAME
public static final java.lang.String FORM_DATA
public static final java.lang.String ATTACHMENT
public static final java.lang.String FILE
public static final java.lang.String MULTIPART_MIXED
public static final java.nio.charset.Charset ISO_8859_1
public static final java.nio.charset.Charset US_ASCII
public static final java.lang.String DEFAULT_BINARY_CONTENT_TYPE
public static final java.lang.String DEFAULT_TEXT_CONTENT_TYPE
static int findNonWhitespace(java.lang.String sb, int offset)
static int findWhitespace(java.lang.String sb, int offset)
static int findEndOfString(java.lang.String sb)