Package org.nuxeo.jaxrs.test
Class JerseyClientHelper.ApacheHttpClientBuilder
java.lang.Object
org.nuxeo.jaxrs.test.JerseyClientHelper.ApacheHttpClientBuilder
- Enclosing class:
- JerseyClientHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.sun.jersey.api.client.Client
build()
setConnectionRequestTimeout
(int connectionRequestTimeout) setConnectTimeout
(int connectTimeout) setCredentials
(String username, String password) setRedirectsEnabled
(boolean redirectsEnabled) setSocketTimeout
(int socketTimeout)
-
Field Details
-
socketTimeout
protected int socketTimeout -
connectTimeout
protected int connectTimeout -
connectionRequestTimeout
protected int connectionRequestTimeout -
redirectsEnabled
protected boolean redirectsEnabled -
username
-
password
-
-
Constructor Details
-
ApacheHttpClientBuilder
protected ApacheHttpClientBuilder()
-
-
Method Details
-
setSocketTimeout
-
setConnectTimeout
-
setConnectionRequestTimeout
public JerseyClientHelper.ApacheHttpClientBuilder setConnectionRequestTimeout(int connectionRequestTimeout) -
setRedirectsEnabled
-
setCredentials
-
build
public com.sun.jersey.api.client.Client build()
-