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