Example usage for org.apache.http.impl.client.cache CachingHttpClientBuilder setCacheConfig

List of usage examples for org.apache.http.impl.client.cache CachingHttpClientBuilder setCacheConfig

Introduction

In this page you can find the example usage for org.apache.http.impl.client.cache CachingHttpClientBuilder setCacheConfig.

Prototype

public final CachingHttpClientBuilder setCacheConfig(final CacheConfig cacheConfig) 

Source Link

Usage

From source file:mobi.jenkinsci.server.core.net.PooledHttpClientFactory.java

private CachingHttpClientBuilder configureHttpCacheClientBuilder(CachingHttpClientBuilder httpClientBuilder) {
    return httpClientBuilder.setCacheConfig(getCacheConfig());
}