com.uwyn.rife.servlet
Class RifeFilter

java.lang.Object
  extended by com.uwyn.rife.servlet.RifeFilter
All Implemented Interfaces:
Filter

public class RifeFilter
extends Object
implements Filter


Constructor Summary
RifeFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 Object getGate()
          Returns the gate that this filter sets up.
 void init(FilterConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RifeFilter

public RifeFilter()
Method Detail

getGate

public Object getGate()
Returns the gate that this filter sets up.

Note that this is deliberately returned as Object to prevent the Gate class to be loaded by the wrong classloader.

Returns:
the Gate that has been setup by this filter.
Since:
1.6

init

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

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws IOException,
                     ServletException
Specified by:
doFilter in interface Filter
Throws:
IOException
ServletException

destroy

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


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.