java.lang.Object | |
↳ | org.apache.http.impl.entity.LaxContentLengthStrategy |
The lax implementation of the content length strategy. This class will ignore
unrecognized transfer encodings and malformed Content-Length
header values if the STRICT_TRANSFER_ENCODING
parameter of the given message is not set or set to false
.
This class recognizes "chunked" and "identitiy" transfer-coding only.
The following parameters can be used to customize the behavior of this class:
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.apache.http.entity.ContentLengthStrategy
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns length of the given message in bytes.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.entity.ContentLengthStrategy
|
Returns length of the given message in bytes. The returned value
must be a non-negative number, IDENTITY
if the end of the
message will be delimited by the end of connection, or CHUNKED
if the message is chunk coded
HttpException |
---|