[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Silvio Rainoldi updated HTTPCLIENT-1455:
----------------------------------------

    Description: 
On Chapter 6.3 (Example usage): 
http://hc.apache.org/httpcomponents-client-ga/tutorial/html/caching.html

...
CloseableHttpClient cachingClient = caching HttpClients.custom()
....

What's that "caching"?
I suppose should be 
CachingHttpClientBuilder.create().setCacheConfig(cacheConfig).setDefaultRequestConfig(requestConfig).build();

  was:
On Chapter 6.3 (Example usage): 
http://hc.apache.org/httpcomponents-client-ga/tutorial/html/caching.html

...
CloseableHttpClient cachingClient = caching HttpClients.custom()
....

What's that "caching"?
I suppose should be 
CachingHttpClientBuilder.create().setCacheConfig(cacheConfig).build();


> Documentation caching erroneus?
> -------------------------------
>
>                 Key: HTTPCLIENT-1455
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1455
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Documentation, Examples
>    Affects Versions: 4.3.2
>            Reporter: Silvio Rainoldi
>            Priority: Minor
>              Labels: documentation
>
> On Chapter 6.3 (Example usage): 
> http://hc.apache.org/httpcomponents-client-ga/tutorial/html/caching.html
> ...
> CloseableHttpClient cachingClient = caching HttpClients.custom()
> ....
> What's that "caching"?
> I suppose should be 
> CachingHttpClientBuilder.create().setCacheConfig(cacheConfig).setDefaultRequestConfig(requestConfig).build();



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to