FileDocCategorySizeDatePackage
BasicPooledConnAdapter.javaAPI DocAndroid 1.5 API2845Wed May 06 22:41:10 BST 2009org.apache.http.impl.conn.tsccm

BasicPooledConnAdapter

public class BasicPooledConnAdapter extends AbstractPooledConnAdapter
A connection wrapper and callback handler. All connections given out by the manager are wrappers which can be {@link #detach detach}ed to prevent further use on release.

Fields Summary
Constructors Summary
protected BasicPooledConnAdapter(ThreadSafeClientConnManager tsccm, AbstractPoolEntry entry)
Creates a new adapter.

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

        super(tsccm, entry);
        markReusable();
    
Methods Summary
protected voiddetach()

        // override needed only to make method visible in this package
        super.detach();
    
protected org.apache.http.conn.ClientConnectionManagergetManager()

        // override needed only to make method visible in this package
        return super.getManager();
    
protected org.apache.http.impl.conn.AbstractPoolEntrygetPoolEntry()
Obtains the pool entry.

return
the pool entry, or null if detached

        return super.poolEntry;