Skip to content

Most visited

Recently visited


BasicPooledConnAdapter | Android Developers

to top
Android APIs
public class


extends AbstractPooledConnAdapter
   ↳ org.apache.http.impl.conn.AbstractClientConnAdapter
     ↳ org.apache.http.impl.conn.AbstractPooledConnAdapter
       ↳ org.apache.http.impl.conn.tsccm.BasicPooledConnAdapter

Class Overview

A connection wrapper and callback handler. All connections given out by the manager are wrappers which can be detached to prevent further use on release.


Inherited Fields
From class org.apache.http.impl.conn.AbstractPooledConnAdapter
Protected Constructors
BasicPooledConnAdapter(ThreadSafeClientConnManager tsccm, AbstractPoolEntry entry)
Creates a new adapter.
Protected Methods
void detach()
Detaches this adapter from the wrapped connection.
ClientConnectionManager getManager()
AbstractPoolEntry getPoolEntry()
Obtains the pool entry.
Inherited Methods
From class org.apache.http.impl.conn.AbstractPooledConnAdapter
From class org.apache.http.impl.conn.AbstractClientConnAdapter
From class java.lang.Object
From interface org.apache.http.HttpClientConnection
From interface org.apache.http.HttpConnection
From interface org.apache.http.HttpInetConnection
From interface org.apache.http.conn.ConnectionReleaseTrigger
From interface org.apache.http.conn.ManagedClientConnection

Protected Constructors

protected BasicPooledConnAdapter (ThreadSafeClientConnManager tsccm, AbstractPoolEntry entry)

Added in API level 1

Creates a new adapter.

tsccm the connection manager
entry the pool entry for the connection being wrapped

Protected Methods

protected void detach ()

Added in API level 1

Detaches this adapter from the wrapped connection. This adapter becomes useless.

protected ClientConnectionManager getManager ()

Added in API level 1

protected AbstractPoolEntry getPoolEntry ()

Added in API level 1

Obtains the pool entry.

  • the pool entry, or null if detached
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.