com.paypal.base
Class GoogleAppEngineHttpConnection

java.lang.Object
  extended by com.paypal.base.HttpConnection
      extended by com.paypal.base.GoogleAppEngineHttpConnection

public class GoogleAppEngineHttpConnection
extends HttpConnection

A special HttpConnection for use on Google App Engine. In order to activate this feature, set 'http.GoogleAppEngine = true' in the SDK config file.


Field Summary
 
Fields inherited from class com.paypal.base.HttpConnection
config, connection
 
Constructor Summary
GoogleAppEngineHttpConnection()
           
 
Method Summary
 void createAndconfigureHttpConnection(HttpConfiguration clientConfiguration)
          create and configure HttpsURLConnection object
 void setupClientSSL(String certPath, String certKey)
          Set ssl parameters for client authentication
 
Methods inherited from class com.paypal.base.HttpConnection
execute, read, setHttpHeaders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleAppEngineHttpConnection

public GoogleAppEngineHttpConnection()
Method Detail

setupClientSSL

public void setupClientSSL(String certPath,
                           String certKey)
                    throws SSLConfigurationException
Description copied from class: HttpConnection
Set ssl parameters for client authentication

Specified by:
setupClientSSL in class HttpConnection
Throws:
SSLConfigurationException

createAndconfigureHttpConnection

public void createAndconfigureHttpConnection(HttpConfiguration clientConfiguration)
                                      throws IOException
Description copied from class: HttpConnection
create and configure HttpsURLConnection object

Specified by:
createAndconfigureHttpConnection in class HttpConnection
Throws:
MalformedURLException
IOException


Copyright © 2015. All Rights Reserved.