public interface Cache
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Clears the cache.
|
Response |
get(String url)
Looks for a cached response for the given URL.
|
void |
put(String url,
Response r)
Caches the given response.
|
void |
remove(String url)
Removes the given response and its handlers from the cache.
|
void destroy()
Response get(String url)
void put(String url, Response r)
void remove(String url)
Copyright © 2008-2012 Anders Møller & Mathias Schwarz.