net.dpml.test.http
Class TestFilter

java.lang.Object
  extended by net.dpml.test.http.TestFilter
All Implemented Interfaces:
Filter

public class TestFilter
extends Object
implements Filter

TestFilter.

Author:
gregw

Constructor Summary
TestFilter()
           
 
Method Summary
 void destroy()
          Destroy the instance.
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
          Process a filter request.
 void init(FilterConfig filterConfig)
          Filter initialization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestFilter

public TestFilter()
Method Detail

init

public void init(FilterConfig filterConfig)
          throws ServletException
Filter initialization.

Specified by:
init in interface Filter
Parameters:
filterConfig - the filter configuration
Throws:
ServletException - if a servlet error occurs

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws IOException,
                     ServletException
Process a filter request.

Specified by:
doFilter in interface Filter
Parameters:
request - the request
response - the response
chain - the filter chain
Throws:
IOException - if an I/O error occurs
ServletException - if a servlet error occurs
See Also:
Filter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)

destroy

public void destroy()
Destroy the instance.

Specified by:
destroy in interface Filter
See Also:
Filter.destroy()