HTTPCLIENT-1455: fixed code sample in the 'Caching' section of the tutorial

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1564244 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2014-02-04 10:21:02 +00:00
parent 260d370b0f
commit ba9d0565b9
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ RequestConfig requestConfig = RequestConfig.custom()
.setConnectTimeout(30000) .setConnectTimeout(30000)
.setSocketTimeout(30000) .setSocketTimeout(30000)
.build(); .build();
CloseableHttpClient cachingClient = caching HttpClients.custom() CloseableHttpClient cachingClient = CachingHttpClients.custom()
.setCacheConfig(cacheConfig) .setCacheConfig(cacheConfig)
.setDefaultRequestConfig(requestConfig) .setDefaultRequestConfig(requestConfig)
.build(); .build();