Class DefaultHttpConnectionFactory

Object
DefaultHttpConnectionFactory
All Implemented Interfaces:
HttpConnectionFactory

This can be used for creating Scheme.HTTP and Scheme.HTTPS connections.

However, if you want to use it with Scheme.HTTPS you must make sure that the keychain for verifying the server certificate is set up correctly. For an example of how to skip certificate verification see PushGatewayTestApp in integration-tests/it-pushgateway/.