public interface

ContentLengthStrategy

org.apache.http.entity.ContentLengthStrategy
Known Indirect Subclasses

Class Overview

Represents a strategy to determine the content length based on the properties of an HTTP message.

Summary

Constants
int CHUNKED
int IDENTITY
Public Methods
abstract long determineLength(HttpMessage message)

Constants

public static final int CHUNKED

Since: API Level 1

Constant Value: -2 (0xfffffffe)

public static final int IDENTITY

Since: API Level 1

Constant Value: -1 (0xffffffff)

Public Methods

public abstract long determineLength (HttpMessage message)

Since: API Level 1

Throws
HttpException