public static class JerseyClientHelper.ApacheHttpClientBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
connectionRequestTimeout |
protected int |
connectTimeout |
protected String |
password |
protected boolean |
redirectsEnabled |
protected int |
socketTimeout |
protected String |
username |
Modifier | Constructor and Description |
---|---|
protected |
ApacheHttpClientBuilder() |
Modifier and Type | Method and Description |
---|---|
com.sun.jersey.api.client.Client |
build() |
JerseyClientHelper.ApacheHttpClientBuilder |
setConnectionRequestTimeout(int connectionRequestTimeout) |
JerseyClientHelper.ApacheHttpClientBuilder |
setConnectTimeout(int connectTimeout) |
JerseyClientHelper.ApacheHttpClientBuilder |
setCredentials(String username,
String password) |
JerseyClientHelper.ApacheHttpClientBuilder |
setRedirectsEnabled(boolean redirectsEnabled) |
JerseyClientHelper.ApacheHttpClientBuilder |
setSocketTimeout(int socketTimeout) |
protected int socketTimeout
protected int connectTimeout
protected int connectionRequestTimeout
protected boolean redirectsEnabled
protected ApacheHttpClientBuilder()
public JerseyClientHelper.ApacheHttpClientBuilder setSocketTimeout(int socketTimeout)
public JerseyClientHelper.ApacheHttpClientBuilder setConnectTimeout(int connectTimeout)
public JerseyClientHelper.ApacheHttpClientBuilder setConnectionRequestTimeout(int connectionRequestTimeout)
public JerseyClientHelper.ApacheHttpClientBuilder setRedirectsEnabled(boolean redirectsEnabled)
public JerseyClientHelper.ApacheHttpClientBuilder setCredentials(String username, String password)
public com.sun.jersey.api.client.Client build()
Copyright © 2018 Nuxeo. All rights reserved.