Package org.apache.http.entity
Interface ContentLengthStrategy
- All Known Implementing Classes:
LaxContentLengthStrategy,StrictContentLengthStrategy
public interface ContentLengthStrategy
Represents a strategy to determine the content length based on the properties
of an HTTP message.
- Since:
- 4.0
- Version:
- $Revision: 613298 $
- Author:
- Oleg Kalnichevski
-
Field Summary
-
Method Summary
Modifier and Type Method Description longdetermineLength(HttpMessage message)
-
Field Details
-
IDENTITY
static final int IDENTITY- See Also:
- Constant Field Values
-
CHUNKED
static final int CHUNKED- See Also:
- Constant Field Values
-
-
Method Details
-
determineLength
- Throws:
HttpException
-