public class HttpServerHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
| Constructor and Description |
|---|
HttpServerHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg) |
protected java.lang.String |
getWebSocketURL(io.netty.handler.codec.http.HttpRequest req) |
protected void |
handleHandshake(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpRequest req) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg)
throws java.lang.Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exceptionprotected void handleHandshake(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpRequest req)
throws java.net.URISyntaxException
java.net.URISyntaxExceptionprotected java.lang.String getWebSocketURL(io.netty.handler.codec.http.HttpRequest req)