@ChannelHandler.Sharable
public class WsAndHttpChannelizerHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
WsAndHttpChannelizer
that toggles between WebSockets
and http.Constructor and Description |
---|
WsAndHttpChannelizerHandler() |
Modifier and Type | Method and Description |
---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object obj) |
void |
configure(io.netty.channel.ChannelPipeline pipeline) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
Channelizer |
getWsChannelizer() |
void |
init(ServerGremlinExecutor serverGremlinExecutor,
HttpGremlinEndpointHandler httpGremlinEndpointHandler) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public void init(ServerGremlinExecutor serverGremlinExecutor, HttpGremlinEndpointHandler httpGremlinEndpointHandler)
public Channelizer getWsChannelizer()
public void configure(io.netty.channel.ChannelPipeline pipeline)
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object obj)
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.