public class NettyServerWebSocket extends AbstractServerWebSocket
ServerWebSocket for Netty 4.binaryActions, closeActions, errorActions, textActions| Constructor and Description |
|---|
NettyServerWebSocket(ChannelHandlerContext context,
FullHttpRequest req,
WebSocketServerHandshaker handshaker) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
protected void |
doSend(ByteBuffer byteBuffer) |
protected void |
doSend(String data) |
<T> T |
unwrap(Class<T> clazz)
Returns the provider-specific component.
|
String |
uri()
The URI used to connect.
|
binaryAction, close, closeAction, errorAction, send, send, textActionpublic NettyServerWebSocket(ChannelHandlerContext context, FullHttpRequest req, WebSocketServerHandshaker handshaker)
public String uri()
ServerWebSocketprotected void doSend(ByteBuffer byteBuffer)
doSend in class AbstractServerWebSocketprotected void doSend(String data)
doSend in class AbstractServerWebSocketprotected void doClose()
doClose in class AbstractServerWebSocketCopyright 2014, The Vibe Project