Android APIs
public class

SyncBasicHttpContext

extends BasicHttpContext
java.lang.Object
   ↳ org.apache.http.protocol.BasicHttpContext
     ↳ org.apache.http.protocol.SyncBasicHttpContext

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

Class Overview

Thread-safe extension of the BasicHttpContext.

Summary

[Expand]
Inherited Constants
From interface org.apache.http.protocol.HttpContext
Public Constructors
SyncBasicHttpContext(HttpContext parentContext)
Public Methods
synchronized Object getAttribute(String id)
synchronized Object removeAttribute(String id)
synchronized void setAttribute(String id, Object obj)
[Expand]
Inherited Methods
From class org.apache.http.protocol.BasicHttpContext
From class java.lang.Object
From interface org.apache.http.protocol.HttpContext

Public Constructors

public SyncBasicHttpContext (HttpContext parentContext)

Added in API level 1

Public Methods

public synchronized Object getAttribute (String id)

Added in API level 1

public synchronized Object removeAttribute (String id)

Added in API level 1

public synchronized void setAttribute (String id, Object obj)

Added in API level 1