to top
Android APIs
public final class

DefaultedHttpContext

extends Object
implements HttpContext
java.lang.Object
   ↳ org.apache.http.protocol.DefaultedHttpContext

Class Overview

HttpContext implementation that delegates resolution of an attribute to the given default HttpContext instance if the attribute is not present in the local one. The state of the local context can be mutated, whereas the default context is treated as read-only.

Summary

[Expand]
Inherited Constants
From interface org.apache.http.protocol.HttpContext
Public Constructors
DefaultedHttpContext(HttpContext local, HttpContext defaults)
Public Methods
Object getAttribute(String id)
HttpContext getDefaults()
Object removeAttribute(String id)
void setAttribute(String id, Object obj)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.protocol.HttpContext

Public Constructors

public DefaultedHttpContext (HttpContext local, HttpContext defaults)

Added in API level 1

Public Methods

public Object getAttribute (String id)

Added in API level 1

public HttpContext getDefaults ()

Added in API level 1

public Object removeAttribute (String id)

Added in API level 1

public void setAttribute (String id, Object obj)

Added in API level 1