org.apache.http.impl.client.cache.ehcache
Class EhcacheHttpCacheStorage
java.lang.Object
org.apache.http.impl.client.cache.ehcache.EhcacheHttpCacheStorage
- All Implemented Interfaces:
- HttpCacheStorage
public class EhcacheHttpCacheStorage
- extends Object
- implements HttpCacheStorage
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhcacheHttpCacheStorage
public EhcacheHttpCacheStorage(Ehcache cache)
EhcacheHttpCacheStorage
public EhcacheHttpCacheStorage(Ehcache cache,
CacheConfig config)
EhcacheHttpCacheStorage
public EhcacheHttpCacheStorage(Ehcache cache,
CacheConfig config,
HttpCacheEntrySerializer serializer)
putEntry
public void putEntry(String key,
HttpCacheEntry entry)
throws IOException
- Specified by:
putEntry
in interface HttpCacheStorage
- Throws:
IOException
getEntry
public HttpCacheEntry getEntry(String key)
throws IOException
- Specified by:
getEntry
in interface HttpCacheStorage
- Throws:
IOException
removeEntry
public void removeEntry(String key)
- Specified by:
removeEntry
in interface HttpCacheStorage
updateEntry
public void updateEntry(String key,
HttpCacheUpdateCallback callback)
throws IOException,
HttpCacheUpdateException
- Specified by:
updateEntry
in interface HttpCacheStorage
- Throws:
IOException
HttpCacheUpdateException
Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.