use of org.apache.commons.httpclient.params.HttpConnectionManagerParams in project sling by apache.
the class JsonPipe method configureHttpClient.
/**
* Configure http client
*/
private void configureHttpClient() {
HttpConnectionManager manager = new MultiThreadedHttpConnectionManager();
HttpConnectionManagerParams params = new HttpConnectionManagerParams();
manager.setParams(params);
client = new HttpClient(manager);
client.getParams().setAuthenticationPreemptive(false);
}
Aggregations