net.sourceforge.pebble.web.filter
Class TransformingFilter

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

public class TransformingFilter
extends java.lang.Object

A filter that transforms an incoming URI into an action URI.

Author:
Simon Brown

Constructor Summary
TransformingFilter()
           
 
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

TransformingFilter

public TransformingFilter()
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.