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, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object msg) throws java.lang.Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
java.lang.Exception
protected void handleHandshake(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpRequest req) throws java.net.URISyntaxException
java.net.URISyntaxException
protected java.lang.String getWebSocketURL(io.netty.handler.codec.http.HttpRequest req)