ContentLengthStrategy implementations that disallows the use of
identity transfer encoding.
| Modifier and Type | Field and Description |
|---|---|
| private final ContentLengthStrategy | |
| public static final DisallowIdentityContentLengthStrategy |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | determineLength(final HttpMessage
HTTP message message)Implements org. |
| contentLengthStrategy | back to summary |
|---|---|
| private final ContentLengthStrategy contentLengthStrategy | |
| INSTANCE | back to summary |
|---|---|
| public static final DisallowIdentityContentLengthStrategy INSTANCE | |
| DisallowIdentityContentLengthStrategy | back to summary |
|---|---|
| public DisallowIdentityContentLengthStrategy(final ContentLengthStrategy contentLengthStrategy) | |
| 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,
| |