Class HttpRequestParser.HttpRequestParserMetaData
- java.lang.Object
-
- net.officefloor.server.http.parse.HttpRequestParser.HttpRequestParserMetaData
-
- Enclosing class:
- HttpRequestParser
public static class HttpRequestParser.HttpRequestParserMetaData extends java.lang.Object
Meta-data for theHttpRequestParser
.
-
-
Field Summary
Fields Modifier and Type Field Description long
maxEntityLength
Maximum length of the entity.int
maxHeaderCount
Maximum number ofHttpHeader
instances for aHttpRequest
.int
maxTextLength
Maximum number of bytes per TEXT.
-
Constructor Summary
Constructors Constructor Description HttpRequestParserMetaData(int maxHeaderCount, int maxTextLength, long maxEntityLength)
Initiate.
-
-
-
Field Detail
-
maxHeaderCount
public final int maxHeaderCount
Maximum number ofHttpHeader
instances for aHttpRequest
.
-
maxTextLength
public final int maxTextLength
Maximum number of bytes per TEXT.
-
maxEntityLength
public final long maxEntityLength
Maximum length of the entity. Requests with entities greater than this will fail parsing.
-
-
Constructor Detail
-
HttpRequestParserMetaData
public HttpRequestParserMetaData(int maxHeaderCount, int maxTextLength, long maxEntityLength)
Initiate.- Parameters:
maxHeaderCount
- Maximum number ofHttpHeader
instances for aHttpRequest
.maxTextLength
- Maximum number of bytes per TEXT.maxEntityLength
- Maximum length of the entity. Requests with entities greater than this will fail parsing.
-
-