public class JenkinsAwareConnectionFactory extends Object implements com.google.api.client.http.javanet.ConnectionFactory
HttpURLConnection honors the jenkins (proxy) settings when creating connectionsThis class uses, instead of a proxy object passed to the constructor, the jenkins {@link ProxyConfiguration} (Jenkins.getInstance().proxy) settings when available.| Constructor and Description |
|---|
JenkinsAwareConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
HttpURLConnection |
openConnection(URL url) |
public HttpURLConnection openConnection(@Nonnull URL url) throws IOException, ClassCastException
openConnection in interface com.google.api.client.http.javanet.ConnectionFactoryIOExceptionClassCastExceptionCopyright © 2016–2020. All rights reserved.