Package org.jenkinsci.plugins.oic
Class JenkinsAwareConnectionFactory
java.lang.Object
org.jenkinsci.plugins.oic.JenkinsAwareConnectionFactory
- All Implemented Interfaces:
com.google.api.client.http.javanet.ConnectionFactory
public class JenkinsAwareConnectionFactory
extends Object
implements com.google.api.client.http.javanet.ConnectionFactory
This Factory for
HttpURLConnection honors the jenkins (proxy) settings when creating connections- Author:
- Michael Bischoff
- See Also:
-
This class uses, instead of a proxy object passed to the constructor, the jenkins ProxyConfiguration (Jenkins.getInstance().proxy) settings when available.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JenkinsAwareConnectionFactory
public JenkinsAwareConnectionFactory()
-
-
Method Details
-
openConnection
- Specified by:
openConnectionin interfacecom.google.api.client.http.javanet.ConnectionFactory- Throws:
IOExceptionClassCastException
-