public class NettyServerWebSocket extends AbstractServerWebSocket
ServerWebSocket for Netty 4.binaryActions, closeActions, errorActions, textActions| Constructor and Description |
|---|
NettyServerWebSocket(io.netty.channel.ChannelHandlerContext context,
io.netty.handler.codec.http.FullHttpRequest req,
io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker handshaker) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
protected void |
doSend(ByteBuffer byteBuffer) |
protected void |
doSend(String data) |
Set<String> |
headerNames() |
List<String> |
headers(String name) |
<T> T |
unwrap(Class<T> clazz) |
String |
uri() |
public NettyServerWebSocket(io.netty.channel.ChannelHandlerContext context,
io.netty.handler.codec.http.FullHttpRequest req,
io.netty.handler.codec.http.websocketx.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 © 2015–2019. All rights reserved.