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

Since: API Level 1

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

Constant Value: "http."

Public Methods

public abstract Object getAttribute (String id)

Since: API Level 1

public abstract Object removeAttribute (String id)

Since: API Level 1

public abstract void setAttribute (String id, Object obj)

Since: API Level 1