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