org.apache.beehive.netui.pageflow
Class PageFlowForbiddenFilter

Object
  extended by PageFlowForbiddenFilter
All Implemented Interfaces:
Filter

public class PageFlowForbiddenFilter
extends Object
implements Filter

Servlet Filter that sends a specified error code on the response. Used to prevent Java source from being displayed in the browser, in the case where it is mixed in with web content, and the web content directory itself is being deployed.


Constructor Summary
PageFlowForbiddenFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain)
           
 void init(FilterConfig filterConfig)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageFlowForbiddenFilter

public PageFlowForbiddenFilter()
Method Detail

init

public void init(FilterConfig filterConfig)
          throws ServletException
Specified by:
init in interface Filter
Throws:
ServletException

doFilter

public void doFilter(ServletRequest servletRequest,
                     ServletResponse servletResponse,
                     FilterChain filterChain)
              throws IOException,
                     ServletException
Specified by:
doFilter in interface Filter
Throws:
IOException
ServletException

destroy

public void destroy()
Specified by:
destroy in interface Filter