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
IDENTITY
static final int IDENTITY
- See Also:
- Constant Field Values
CHUNKED
static final int CHUNKED
- See Also:
- Constant Field Values
determineLength
long determineLength(HttpMessage message)
throws HttpException
- Throws:
HttpException
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.