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
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 AsyncFilter.Result 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
- Returns:
AsyncFilter.Result
Copyright © 2012 Oracle Corporation. All Rights Reserved.