com.caucho.server.cache
Class AbstractCacheEntry

java.lang.Object
  extended by com.caucho.server.cache.AbstractCacheEntry
Direct Known Subclasses:
ProxyCacheEntry

public abstract class AbstractCacheEntry
extends java.lang.Object

Cached response.


Constructor Summary
AbstractCacheEntry()
           
 
Method Summary
abstract  void destroy()
          Destroys the entry.
abstract  boolean isForwardEnclosed()
           
abstract  java.io.OutputStream openOutputStream()
          Opens an output stream for byte entries.
abstract  java.io.Writer openWriter()
          Opens a writer for char entries.
abstract  void setForwardEnclosed(boolean isForward)
          Marks cached entry enclosed in forward()
abstract  void updateExpiresDate()
          If the response discovers that the page hasn't changed, update the cache time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCacheEntry

public AbstractCacheEntry()
Method Detail

updateExpiresDate

public abstract void updateExpiresDate()
If the response discovers that the page hasn't changed, update the cache time.


openOutputStream

public abstract java.io.OutputStream openOutputStream()
Opens an output stream for byte entries.


openWriter

public abstract java.io.Writer openWriter()
Opens a writer for char entries.


destroy

public abstract void destroy()
Destroys the entry.


setForwardEnclosed

public abstract void setForwardEnclosed(boolean isForward)
Marks cached entry enclosed in forward()


isForwardEnclosed

public abstract boolean isForwardEnclosed()