From ba9d0565b9b5d8db2cb6f3263176d1f0eb2b74a8 Mon Sep 17 00:00:00 2001 From: Oleg Kalnichevski Date: Tue, 4 Feb 2014 10:21:02 +0000 Subject: [PATCH] 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 --- src/docbkx/caching.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docbkx/caching.xml b/src/docbkx/caching.xml index 6cd06c610..aa13d270e 100644 --- a/src/docbkx/caching.xml +++ b/src/docbkx/caching.xml @@ -151,7 +151,7 @@ RequestConfig requestConfig = RequestConfig.custom() .setConnectTimeout(30000) .setSocketTimeout(30000) .build(); -CloseableHttpClient cachingClient = caching HttpClients.custom() +CloseableHttpClient cachingClient = CachingHttpClients.custom() .setCacheConfig(cacheConfig) .setDefaultRequestConfig(requestConfig) .build();