Skip to content

Most visited

Recently visited

navigation

BasicPooledConnAdapter | Android Developers

to top
Android APIs
public class

BasicPooledConnAdapter

extends AbstractPooledConnAdapter
java.lang.Object
   ↳ 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.

Summary

[Expand]
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.
[Expand]
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.

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

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

Hooray!

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.