com.paypal.base
Class ConnectionManager

java.lang.Object
  extended by com.paypal.base.ConnectionManager

public final class ConnectionManager
extends Object

ConnectionManager acts as a interface to retrieve HttpConnection objects used by API service


Method Summary
 HttpConnection getConnection()
           
 HttpConnection getConnection(HttpConfiguration httpConfig)
          Overloaded method used factory to load GoogleAppEngineSpecific connection
static ConnectionManager getInstance()
          Singleton accessor method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ConnectionManager getInstance()
Singleton accessor method

Returns:
ConnectionManager singleton object

getConnection

public HttpConnection getConnection()
Returns:
HttpConnection object

getConnection

public HttpConnection getConnection(HttpConfiguration httpConfig)
Overloaded method used factory to load GoogleAppEngineSpecific connection

Parameters:
httpConfig - HttpConfiguration object
Returns:
HttpConnection object


Copyright © 2015. All Rights Reserved.