Content-Length
header values.
This class recognizes "chunked" and "identitiy" transfer-coding only.
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| public static final LaxContentLengthStrategy |
| Access | Constructor and Description |
|---|---|
| public | LaxContentLengthStrategy(final int
implicit content length. implicitLen)Creates |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | determineLength(final HttpMessage
HTTP message message)Implements org. |
| implicitLen | back to summary |
|---|---|
| private final int implicitLen | |
| INSTANCE | back to summary |
|---|---|
| public static final LaxContentLengthStrategy INSTANCE | |
| LaxContentLengthStrategy | back to summary |
|---|---|
| public LaxContentLengthStrategy(final int implicitLen) Creates
| |
| LaxContentLengthStrategy | back to summary |
|---|---|
| public LaxContentLengthStrategy() Creates | |
| determineLength | back to summary |
|---|---|
| public long determineLength(final HttpMessage message) throws HttpException Implements org. Doc from org. Returns length of the given message in bytes. The returned value
must be a non-negative number,
| |