Skip to content

Most visited

Recently visited

navigation

ContentLengthStrategy | Android Developers

to top
Android APIs
Added in API level 1
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

Throws
HttpException
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.