@Override
    public SimpleHttpClient getObject() {
        val httpClient = buildHttpClient();
        val requestExecutorService = buildRequestExecutorService(httpClient);
        val codes = this.acceptableCodes.stream().sorted().collect(Collectors.toList());
        return new SimpleHttpClient(codes, httpClient, requestExecutorService, this);
    }
The executor service used to create a {@link #buildRequestExecutorService}.
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/http/SimpleHttpClientFactoryBean.java