hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Campbell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-427) Implement a cache to perform real request only when needed
Date Tue, 04 May 2010 12:34:59 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863786#action_12863786
] 

Joe Campbell commented on HTTPCLIENT-427:
-----------------------------------------

Yes - they can be made private and final - as they are never meant to change.  In fact, I
added the @Immutable annotation to the class (similar to other classes assumed to have been
modified by Oleg).  OptionsHttp11Response's purpose is to serve as the response container
for a request OPTIONS query with maxforwards set to 0 (essentially a loopback to indicate
all the various things that the cache will support).  

This change will be included in a patch from us when Oleg is complete with making CacheEntry
immutable as well.  We are trying not to collide changes by pausing to wait for Oleg's changes
on the tree and then supplying a patch for some of the other minor changes requested based
on that.

Thanks,
     Joe  



> Implement a cache to perform real request only when needed
> ----------------------------------------------------------
>
>                 Key: HTTPCLIENT-427
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-427
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>         Environment: Operating System: Linux
> Platform: PC
>            Reporter: Marc Guillemot
>             Fix For: 4.1 Alpha2
>
>         Attachments: caching_client.zip, httpclient-cache.zip
>
>
> Browsers may cache received content according to the values of different
> response headers. It would be great if HttpClient could do the same.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message