public class WriteCallbackWrapper extends Object implements Callback
WriteCallback WebSocket API with a Jetty Callback.
We don't expose the jetty Callback object to the webapp, as that makes things complicated for the WebAppContext's Classloader.
Callback.Adapter, Callback.NonBlocking| Constructor and Description |
|---|
WriteCallbackWrapper(WriteCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
failed(Throwable x) |
void |
succeeded() |
static Callback |
wrap(WriteCallback callback) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisNonBlockingpublic WriteCallbackWrapper(WriteCallback callback)
Copyright © 1995-2015 Webtide. All Rights Reserved.