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

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


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.