Class CacheableRequestPolicy
- java.lang.Object
-
- org.apache.http.impl.client.cache.CacheableRequestPolicy
-
@Contract(threading=IMMUTABLE) class CacheableRequestPolicy extends java.lang.Object
Determines if an HttpRequest is allowed to be served from the cache.- Since:
- 4.1
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.commons.logging.Log
log
-
Constructor Summary
Constructors Constructor Description CacheableRequestPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isServableFromCache(org.apache.http.HttpRequest request)
Determines if an HttpRequest can be served from the cache.
-