net.sourceforge.pebble.web.filter
Class DispatchingFilter

java.lang.Object
  extended by net.sourceforge.pebble.web.filter.DispatchingFilter

public class DispatchingFilter
extends java.lang.Object

A filter that dispatches to the internal URI.

Author:
Simon Brown

Constructor Summary
DispatchingFilter()
           
 
Method Summary
 void destroy()
          Called when this filter is taken out of service.
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
          Contains the processing associated with this filter.
 void init(FilterConfig config)
          Initialises this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DispatchingFilter

public DispatchingFilter()
Method Detail

init

public void init(FilterConfig config)
Initialises this instance.

Parameters:
config - a FilterConfig instance

destroy

public void destroy()
Called when this filter is taken out of service.


doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws ServletException,
                     java.io.IOException
Contains the processing associated with this filter.

Throws:
ServletException
java.io.IOException


Copyright © 2003-2006, Simon Brown. All Rights Reserved.