com.sun.grizzly.comet
Class CometAsyncFilter
java.lang.Object
com.sun.grizzly.comet.CometAsyncFilter
- All Implemented Interfaces:
- AsyncFilter
public class CometAsyncFilter
- extends Object
- implements AsyncFilter
AJAX/Comet support using the Grizzly Asynchronous Request Processing
default mechanism.
Instance of this class represent an interrupted/polled/Comet request.
Note: The request can be resumed anytime, and the polled request is not
holding a thread.
- Author:
- Jeanfrancois Arcand
Method Summary |
boolean |
doFilter(AsyncExecutor asyncExecutor)
Execute the Comet AsyncFilter by delegating the work to the
CometEngine . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CometAsyncFilter
public CometAsyncFilter()
- Comet Async Filter.
doFilter
public boolean doFilter(AsyncExecutor asyncExecutor)
- Execute the Comet
AsyncFilter
by delegating the work to the
CometEngine
. At this stage, the request has already
been interrupted.
- Specified by:
doFilter
in interface AsyncFilter
Copyright © 2009 SUN Microsystems. All Rights Reserved.