|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpCacheInvalidator
Given a particular HttpRequest, flush any cache entries that this request would invalidate.
Method Summary | |
---|---|
void |
flushInvalidatedCacheEntries(org.apache.http.HttpHost host,
org.apache.http.HttpRequest req)
Remove cache entries from the cache that are no longer fresh or have been invalidated in some way. |
void |
flushInvalidatedCacheEntries(org.apache.http.HttpHost host,
org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response)
Flushes entries that were invalidated by the given response received for the given host/request pair. |
Method Detail |
---|
void flushInvalidatedCacheEntries(org.apache.http.HttpHost host, org.apache.http.HttpRequest req)
host
- The backend host we are talking toreq
- The HttpRequest to that hostvoid flushInvalidatedCacheEntries(org.apache.http.HttpHost host, org.apache.http.HttpRequest request, org.apache.http.HttpResponse response)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |