java.lang.Object | |
↳ | org.apache.http.impl.entity.StrictContentLengthStrategy |
The strict implementation of the content length strategy. This class
will throw ProtocolException
if it encounters an unsupported
transfer encoding or a malformed Content-Length
header
value.
This class recognizes "chunked" and "identitiy" transfer-coding only.
[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 |
---|