Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
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

Added in API level 1

Constant Value: -2 (0xfffffffe)

public static final int IDENTITY

Added in API level 1

Constant Value: -1 (0xffffffff)

Public Methods

public abstract long determineLength ( HttpMessage message)

Added in API level 1