Android
org.apache.http.protocol
public final class

org.apache.http.protocol.DefaultedHttpContext

java.lang.Object
org.apache.http.protocol.DefaultedHttpContext HttpContext

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

Constants inherited 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)
Methods inherited from class java.lang.Object
Methods inherited from interface org.apache.http.protocol.HttpContext

Details

Public Constructors

public DefaultedHttpContext(HttpContext local, HttpContext defaults)

Public Methods

public Object getAttribute(String id)

public HttpContext getDefaults()

public Object removeAttribute(String id)

public void setAttribute(String id, Object obj)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48