public class EHCache extends AbstractCache
| Constructor and Description | 
|---|
| EHCache(List<WebApp> webApps) | 
| EHCache(List<WebApp> webApps,
       InputStream configuration) | 
| 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. | 
public EHCache(List<WebApp> webApps, InputStream configuration)
public void destroy()
Cachepublic Response get(String url)
Cachepublic void put(String url, Response r)
CacheCopyright © 2008-2012 Anders Møller & Mathias Schwarz.