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

HttpContext

org.apache.http.protocol.HttpContext
Known Indirect Subclasses

Class Overview

A context for executing a request. The context is used to tie together the request, the response, and optional application data. It is also used for internal data. Attribute names starting with the prefix "http." are reserved for internal data.

Summary

Constants
String RESERVED_PREFIX The prefix reserved for use by HTTP components.
Public Methods
abstract Object getAttribute ( String id)
abstract Object removeAttribute ( String id)
abstract void setAttribute ( String id, Object obj)

Constants

public static final String RESERVED_PREFIX

Added in API level 1

The prefix reserved for use by HTTP components. "http."

Constant Value: "http."

Public Methods

public abstract Object getAttribute ( String id)

Added in API level 1

public abstract Object removeAttribute ( String id)

Added in API level 1

public abstract void setAttribute ( String id, Object obj)

Added in API level 1