com.sun.grizzly.websockets
Class WebSocketAsyncFilter
java.lang.Object
com.sun.grizzly.websockets.WebSocketAsyncFilter
- All Implemented Interfaces:
- AsyncFilter
public class WebSocketAsyncFilter
- extends Object
- implements AsyncFilter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSocketAsyncFilter
public WebSocketAsyncFilter()
doFilter
public AsyncFilter.Result doFilter(AsyncExecutor asyncExecutor)
- Description copied from interface:
AsyncFilter
- Execute and return
AsyncFilter.Result
.
AsyncFilter.Result.NEXT
: next AsyncFilter should be executed;
AsyncFilter.Result.INTERRUPT
: interrupts the execution, filter is becoming responsible for finishing the processing;
AsyncFilter.Result.FINISH
: finish the async execution (skip the rest of the filters).
- Specified by:
doFilter
in interface AsyncFilter
- Returns:
AsyncFilter.Result
Copyright © 2012 Oracle Corporation. All Rights Reserved.