/**
* Instantiates a new Simple HTTP client, based on the provided inputs.
*
* @param acceptableCodes the acceptable codes of the client
* @param httpClient the HTTP client used by the client
* @param requestExecutorService the request executor service used by the client
*/
SimpleHttpClient(final List<Integer> acceptableCodes, final CloseableHttpClient httpClient, final FutureRequestExecutionService requestExecutorService) {
this.acceptableCodes = acceptableCodes.stream().sorted().collect(Collectors.toList());
this.httpClient = httpClient;
this.requestExecutorService = requestExecutorService;
}
SimpleHttpClient.java 文件源码
java
阅读 32
收藏 0
点赞 0
评论 0
项目:cas-5.1.0
作者:
评论列表
文章目录