org.atmosphere.cpr
Class AtmosphereFilter
java.lang.Object
org.atmosphere.cpr.AtmosphereFilter
- All Implemented Interfaces:
- Filter
public class AtmosphereFilter
- extends Object
- implements Filter
Atmosphere supports for Filter, delegating all works to AtmosphereServlet.
This Filter only works with Jetty and Grizzly/GlassFish. With others
containers it will use its BlockingIOCometSupport.
- Author:
- Jeanfrancois Arcand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtmosphereFilter
public AtmosphereFilter()
init
public void init(FilterConfig filterConfig)
throws ServletException
- Initialize the
Filter
- Specified by:
init in interface Filter
- Parameters:
filterConfig - The FilterConfig
- Throws:
ServletException
doFilter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException,
ServletException
- Normal doFilter invokation.
- Specified by:
doFilter in interface Filter
- Parameters:
request - response - chain -
- Throws:
IOException
ServletException
destroy
public void destroy()
- Specified by:
destroy in interface Filter
Copyright © 2010 SUN Microsystems. All Rights Reserved.