Package io.jenkins.plugins.okhttp.api
Class JenkinsOkHttpClient
java.lang.Object
io.jenkins.plugins.okhttp.api.JenkinsOkHttpClient
This class allows to take into consideration if Jenkins is running behind a proxy or not and return a proper 
OkHttpClient
 client.- 
Method Summary
Modifier and TypeMethodDescriptionstatic okhttp3.OkHttpClient.BuildernewClientBuilder(okhttp3.OkHttpClient httpClient) Generates a new builder for the given base client. 
- 
Method Details
- 
newClientBuilder
public static okhttp3.OkHttpClient.Builder newClientBuilder(okhttp3.OkHttpClient httpClient) Generates a new builder for the given base client. It applies the currentJenkins.proxyconfiguration.- Returns:
 - a builder to configure the client
 
 
 -