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