com.twilio.sdk
Class AppEngineClientConnectionManager

java.lang.Object
  extended by com.twilio.sdk.AppEngineClientConnectionManager
All Implemented Interfaces:
org.apache.http.conn.ClientConnectionManager

public class AppEngineClientConnectionManager
extends Object
implements org.apache.http.conn.ClientConnectionManager


Constructor Summary
AppEngineClientConnectionManager()
           
 
Method Summary
 void closeExpiredConnections()
           
 void closeIdleConnections(long idletime, TimeUnit tunit)
           
 org.apache.http.conn.ManagedClientConnection getConnection(org.apache.http.conn.routing.HttpRoute route, Object state)
           
 org.apache.http.conn.scheme.SchemeRegistry getSchemeRegistry()
           
 void releaseConnection(org.apache.http.conn.ManagedClientConnection conn, long valid, TimeUnit tuint)
           
 org.apache.http.conn.ClientConnectionRequest requestConnection(org.apache.http.conn.routing.HttpRoute route, Object state)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppEngineClientConnectionManager

public AppEngineClientConnectionManager()
Method Detail

closeExpiredConnections

public void closeExpiredConnections()
Specified by:
closeExpiredConnections in interface org.apache.http.conn.ClientConnectionManager

closeIdleConnections

public void closeIdleConnections(long idletime,
                                 TimeUnit tunit)
Specified by:
closeIdleConnections in interface org.apache.http.conn.ClientConnectionManager

getConnection

public org.apache.http.conn.ManagedClientConnection getConnection(org.apache.http.conn.routing.HttpRoute route,
                                                                  Object state)

getSchemeRegistry

public org.apache.http.conn.scheme.SchemeRegistry getSchemeRegistry()
Specified by:
getSchemeRegistry in interface org.apache.http.conn.ClientConnectionManager

releaseConnection

public void releaseConnection(org.apache.http.conn.ManagedClientConnection conn,
                              long valid,
                              TimeUnit tuint)
Specified by:
releaseConnection in interface org.apache.http.conn.ClientConnectionManager

requestConnection

public org.apache.http.conn.ClientConnectionRequest requestConnection(org.apache.http.conn.routing.HttpRoute route,
                                                                      Object state)
Specified by:
requestConnection in interface org.apache.http.conn.ClientConnectionManager

shutdown

public void shutdown()
Specified by:
shutdown in interface org.apache.http.conn.ClientConnectionManager


Copyright © 2011 Twilio, Inc. All Rights Reserved.