Build 1.0_r1(from source)

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

Field Summary
static int CHUNKED
           
static int IDENTITY
           
 
Method Summary
 long determineLength(HttpMessage message)
           
 

Field Detail

IDENTITY

static final int IDENTITY
See Also:
Constant Field Values

CHUNKED

static final int CHUNKED
See Also:
Constant Field Values
Method Detail

determineLength

long determineLength(HttpMessage message)
                     throws HttpException
Throws:
HttpException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature