use of org.apache.http.impl.client.FutureRequestExecutionService in project cas by apereo.
the class SimpleHttpClientFactoryBean method getObject.
@Override
public SimpleHttpClient getObject() throws Exception {
final CloseableHttpClient httpClient = buildHttpClient();
final FutureRequestExecutionService requestExecutorService = buildRequestExecutorService(httpClient);
return new SimpleHttpClient(this.acceptableCodes, httpClient, requestExecutorService);
}
Aggregations