Android APIs
Added in API level 1
Deprecated since API level 22
public interface

HttpContext

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

This interface was deprecated in API level 22.
Please use openConnection() instead. Please visit this webpage for further details.

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