Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setConnectionRequestTimeout (0.16 sec)

  1. test-site/app/models/ContentsCreator.java

        public void create() {
            RequestConfig.Builder requestBuilder = RequestConfig.custom();
            requestBuilder = requestBuilder.setConnectTimeout(10000);
            requestBuilder = requestBuilder.setConnectionRequestTimeout(10000).setSocketTimeout(5000);
            HttpClient httpClient = HttpClientBuilder.create()
                .setDefaultRequestConfig(requestBuilder.build()).build();
    
            Queue<String> queue = getUrls();
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 3.7K bytes
    - Viewed (0)
Back to top