rlalfo / google-http-java-client

Automatically exported from code.google.com/p/google-http-java-client
0 stars 0 forks source link

Support to enable/disable HTTP caching pre HttpRequest instance #215

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://javadoc.google-http-java-client.googlecode.com/hg/1.14.1-beta/com/google/
api/client/http/HttpRequest.html

http://docs.oracle.com/javase/7/docs/api/java/net/URLConnection.html#setUseCache
s(boolean)

Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?

All

Please describe the feature requested.

Some HTTP transports provide a caching facility.  For example, URLConnection 
upon which NetHttpTransport is built has the ability to use caches (currently 
caching is disabled, but we're changing that for 1.15 to be to cache by 
default).  However, there may be a use case to disable caches on a per-request 
basis.  This is a feature request to force a cache to be used on a specific 
request, or to force that a cache be used on a specific request, or allow the 
default setting.  So perhaps it is a Boolean with 3 values: TRUE, FALSE, or 
null.

Original issue reported on code.google.com by yan...@google.com on 9 Apr 2013 at 6:01