org.codehaus.httpcache4j.cache
Class AbstractCacheStorage

java.lang.Object
  extended by org.codehaus.httpcache4j.cache.AbstractCacheStorage
All Implemented Interfaces:
Iterable<Key>, CacheStorage

public abstract class AbstractCacheStorage
extends Object
implements CacheStorage

Version:
$Revision: $
Author:
Erlend Hamnaberg

Constructor Summary
AbstractCacheStorage()
           
 
Method Summary
 HTTPResponse insert(HTTPRequest request, HTTPResponse response)
           
protected abstract  void invalidate(Key key)
           
protected abstract  HTTPResponse putImpl(Key key, HTTPResponse response)
           
protected abstract  HTTPResponse rewriteResponse(Key key, HTTPResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.httpcache4j.cache.CacheStorage
clear, get, get, invalidate, size, update
 
Methods inherited from interface java.lang.Iterable
iterator
 

Constructor Detail

AbstractCacheStorage

public AbstractCacheStorage()
Method Detail

insert

public final HTTPResponse insert(HTTPRequest request,
                                 HTTPResponse response)
Specified by:
insert in interface CacheStorage

rewriteResponse

protected abstract HTTPResponse rewriteResponse(Key key,
                                                HTTPResponse response)

putImpl

protected abstract HTTPResponse putImpl(Key key,
                                        HTTPResponse response)

invalidate

protected abstract void invalidate(Key key)


Copyright © 2008-2011. All Rights Reserved.