Build 1.0_r1(from source)

android.net.http
Class IdleCache

java.lang.Object
  extended by android.net.http.IdleCache

 class IdleCache
extends Object


Nested Class Summary
(package private)  class IdleCache.Entry
           
 
Constructor Summary
IdleCache()
           
 
Method Summary
(package private)  boolean cacheConnection(HttpHost host, Connection connection)
          Caches connection, if there is room.
(package private)  void clear()
           
(package private)  Connection getConnection(HttpHost host)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdleCache

IdleCache()
Method Detail

cacheConnection

boolean cacheConnection(HttpHost host,
                        Connection connection)
Caches connection, if there is room.

Returns:
true if connection cached

getConnection

Connection getConnection(HttpHost host)

clear

void clear()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature