com.caucho.server.cache
Class ProxyCacheEntry

java.lang.Object
  extended by com.caucho.server.cache.AbstractCacheEntry
      extended by com.caucho.server.cache.ProxyCacheEntry

public class ProxyCacheEntry
extends AbstractCacheEntry

Cached response.


Method Summary
 void clearExpires()
          Clears the expires time
 void destroy()
          Destroys the entry.
 boolean isForwardEnclosed()
           
 boolean isNotModifiedAllowed(CauchoRequest cReq)
           
 java.io.OutputStream openOutputStream()
          Opens the inode for byte writing.
 java.io.Writer openWriter()
          Opens the inode for writing.
 void setForwardEnclosed(boolean isForwardEnclosed)
          Marks cached entry enclosed in forward()
 void updateExpiresDate()
          If the response discovers that the page hasn't changed, update the cache time.
 void updateNotModified()
          Updates based on a not-modified time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

updateExpiresDate

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

Specified by:
updateExpiresDate in class AbstractCacheEntry

clearExpires

public void clearExpires()
Clears the expires time


openOutputStream

public java.io.OutputStream openOutputStream()
Opens the inode for byte writing.

Specified by:
openOutputStream in class AbstractCacheEntry

openWriter

public java.io.Writer openWriter()
Opens the inode for writing.

Specified by:
openWriter in class AbstractCacheEntry

setForwardEnclosed

public void setForwardEnclosed(boolean isForwardEnclosed)
Description copied from class: AbstractCacheEntry
Marks cached entry enclosed in forward()

Specified by:
setForwardEnclosed in class AbstractCacheEntry

isForwardEnclosed

public boolean isForwardEnclosed()
Specified by:
isForwardEnclosed in class AbstractCacheEntry

destroy

public void destroy()
Description copied from class: AbstractCacheEntry
Destroys the entry.

Specified by:
destroy in class AbstractCacheEntry

isNotModifiedAllowed

public boolean isNotModifiedAllowed(CauchoRequest cReq)

updateNotModified

public void updateNotModified()
Updates based on a not-modified time