info.magnolia.module.cache.filter
Class CachedError

java.lang.Object
  extended by info.magnolia.module.cache.filter.CachedError
All Implemented Interfaces:
CachedEntry, Serializable

public class CachedError
extends Object
implements CachedEntry, Serializable

Contract for cached errors providing access to the error codes.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph
See Also:
Serialized Form

Constructor Summary
CachedError(int statusCode)
           
 
Method Summary
 int getStatusCode()
           
 void replay(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedError

public CachedError(int statusCode)
Method Detail

getStatusCode

public int getStatusCode()

replay

public void replay(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response,
                   javax.servlet.FilterChain chain)
            throws IOException,
                   javax.servlet.ServletException
Specified by:
replay in interface CachedEntry
chain - a cache entry might want to delegate to the filter chain, see DelegatingBlobCachedEntry.replay(HttpServletRequest, HttpServletResponse, FilterChain)
Throws:
IOException
javax.servlet.ServletException


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.