Class HttpPostBodyUtil
- java.lang.Object
-
- io.netty.handler.codec.http.multipart.HttpPostBodyUtil
-
final class HttpPostBodyUtil extends java.lang.Object
Shared Static object between HttpMessageDecoder, HttpPostRequestDecoder and HttpPostRequestEncoder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
HttpPostBodyUtil.SeekAheadOptimize
This class intends to decrease the CPU in seeking ahead some bytes in HttpPostRequestDecoderstatic class
HttpPostBodyUtil.TransferEncodingMechanism
Allowed mechanism for multipart mechanism := "7bit" / "8bit" / "binary" Not allowed: "quoted-printable" / "base64"
-
Field Summary
Fields Modifier and Type Field Description static int
chunkSize
static java.lang.String
DEFAULT_BINARY_CONTENT_TYPE
Default Content-Type in binary formstatic java.lang.String
DEFAULT_TEXT_CONTENT_TYPE
Default Content-Type in Text form
-
Constructor Summary
Constructors Modifier Constructor Description private
HttpPostBodyUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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
-
-
-
Field Detail
-
chunkSize
public static final int chunkSize
- See Also:
- Constant Field Values
-
DEFAULT_BINARY_CONTENT_TYPE
public static final java.lang.String DEFAULT_BINARY_CONTENT_TYPE
Default Content-Type in binary form- See Also:
- Constant Field Values
-
DEFAULT_TEXT_CONTENT_TYPE
public static final java.lang.String DEFAULT_TEXT_CONTENT_TYPE
Default Content-Type in Text form- See Also:
- Constant Field Values
-
-