org.directwebremoting.servlet
Class DwrWebContextFilter
java.lang.Object
org.directwebremoting.servlet.DwrWebContextFilter
public class DwrWebContextFilter
- extends java.lang.Object
A Servlet Filter that can be used with other web frameworks to allow use of
WebContextFactory. Any servlet threads that have their request URL mapped
through a DwrWebContextFilter will have a WebContext available to them.
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
Method Summary |
void |
destroy()
|
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
|
void |
init(FilterConfig aFilterConfig)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DwrWebContextFilter
public DwrWebContextFilter()
init
public void init(FilterConfig aFilterConfig)
throws ServletException
- Throws:
ServletException
doFilter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws java.io.IOException,
ServletException
- Throws:
java.io.IOException
ServletException
destroy
public void destroy()