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 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