Class CacheInvalidatorBase
java.lang.Object
org.apache.hc.client5.http.impl.cache.CacheInvalidatorBase
- Direct Known Subclasses:
DefaultAsyncCacheInvalidator, DefaultCacheInvalidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static URIgetContentLocationURI(URI requestUri, org.apache.hc.core5.http.HttpResponse response) (package private) static URIgetLocationURI(URI requestUri, org.apache.hc.core5.http.HttpResponse response) private static URIgetLocationURI(URI requestUri, org.apache.hc.core5.http.HttpResponse response, String headerName) (package private) static booleanisAHeadCacheEntry(HttpCacheEntry parentCacheEntry) (package private) static booleanisSameHost(URI requestURI, URI targetURI) (package private) static booleannotGetOrHeadRequest(String method) (package private) static booleanrequestIsGet(org.apache.hc.core5.http.HttpRequest req) (package private) static booleanrequestShouldNotBeCached(org.apache.hc.core5.http.HttpRequest req) (package private) static booleanresponseAndEntryEtagsDiffer(org.apache.hc.core5.http.HttpResponse response, HttpCacheEntry entry) (package private) static booleanresponseDateOlderThanEntryDate(org.apache.hc.core5.http.HttpResponse response, HttpCacheEntry entry) (package private) static booleanshouldInvalidateHeadCacheEntry(org.apache.hc.core5.http.HttpRequest req, HttpCacheEntry parentCacheEntry)
-
Constructor Details
-
CacheInvalidatorBase
CacheInvalidatorBase()
-
-
Method Details
-
shouldInvalidateHeadCacheEntry
static boolean shouldInvalidateHeadCacheEntry(org.apache.hc.core5.http.HttpRequest req, HttpCacheEntry parentCacheEntry) -
requestIsGet
static boolean requestIsGet(org.apache.hc.core5.http.HttpRequest req) -
isAHeadCacheEntry
-
isSameHost
-
requestShouldNotBeCached
static boolean requestShouldNotBeCached(org.apache.hc.core5.http.HttpRequest req) -
notGetOrHeadRequest
-
getLocationURI
-
getContentLocationURI
-
getLocationURI
-
responseAndEntryEtagsDiffer
static boolean responseAndEntryEtagsDiffer(org.apache.hc.core5.http.HttpResponse response, HttpCacheEntry entry) -
responseDateOlderThanEntryDate
static boolean responseDateOlderThanEntryDate(org.apache.hc.core5.http.HttpResponse response, HttpCacheEntry entry)
-