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) |
String |
uri() |
binaryAction, close, closeAction, errorAction, send, send, textActionpublic NettyServerWebSocket(ChannelHandlerContext context, FullHttpRequest req, WebSocketServerHandshaker handshaker)
public String uri()
protected void doSend(ByteBuffer byteBuffer)
doSend in class AbstractServerWebSocketprotected void doSend(String data)
doSend in class AbstractServerWebSocketprotected void doClose()
doClose in class AbstractServerWebSocketpublic <T> T unwrap(Class<T> clazz)
Copyright 2014, The Vibe Project