org.atmosphere.container.version
Class Jetty9WebSocket
java.lang.Object
org.atmosphere.cpr.AsyncIOWriterAdapter
org.atmosphere.cpr.AtmosphereInterceptorWriter
org.atmosphere.websocket.WebSocket
org.atmosphere.container.version.Jetty9WebSocket
- All Implemented Interfaces:
- AsyncIOWriter
public class Jetty9WebSocket
- extends WebSocket
| Methods inherited from class org.atmosphere.websocket.WebSocket |
close, config, flush, lastWriteTimeStampInMilliseconds, redirect, resource, resource, transform, webSocketHandler, webSocketHandler, write, write, write, writeError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Jetty9WebSocket
public Jetty9WebSocket(org.eclipse.jetty.websocket.core.api.WebSocketConnection webSocketConnection,
AtmosphereConfig config)
isOpen
public boolean isOpen()
- Description copied from class:
WebSocket
- Is the underlying WebSocket open.
- Specified by:
isOpen in class WebSocket
- Returns:
write
public WebSocket write(String s)
throws IOException
- Specified by:
write in class WebSocket
- Throws:
IOException
write
public WebSocket write(byte[] b,
int offset,
int length)
throws IOException
- Specified by:
write in class WebSocket
- Throws:
IOException
close
public void close()
- Specified by:
close in class WebSocket
Copyright © 2012. All Rights Reserved.