Class WsAndHttpChannelizerHandler
- java.lang.Object
 - 
- io.netty.channel.ChannelHandlerAdapter
 - 
- io.netty.channel.ChannelInboundHandlerAdapter
 - 
- org.apache.tinkerpop.gremlin.server.handler.WsAndHttpChannelizerHandler
 
 
 
 
- 
- All Implemented Interfaces:
 io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
@Sharable public class WsAndHttpChannelizerHandler extends io.netty.channel.ChannelInboundHandlerAdapterA ChannelInboundHandlerAdapter for use withWsAndHttpChannelizerthat toggles between WebSockets and http.- Author:
 - Keith Lohnes lohnesk@gmail.com
 
 
- 
- 
Constructor Summary
Constructors Constructor Description WsAndHttpChannelizerHandler() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchannelRead(io.netty.channel.ChannelHandlerContext ctx, Object obj)voidconfigure(io.netty.channel.ChannelPipeline pipeline)voidexceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)ChannelizergetWsChannelizer()voidinit(ServerGremlinExecutor serverGremlinExecutor, HttpGremlinEndpointHandler httpGremlinEndpointHandler)- 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered 
- 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable 
 - 
 
 - 
 
- 
- 
Method Detail
- 
init
public void init(ServerGremlinExecutor serverGremlinExecutor, HttpGremlinEndpointHandler httpGremlinEndpointHandler)
 
- 
getWsChannelizer
public Channelizer getWsChannelizer()
 
- 
configure
public void configure(io.netty.channel.ChannelPipeline pipeline)
 
- 
channelRead
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object obj)- Specified by:
 channelReadin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
 channelReadin classio.netty.channel.ChannelInboundHandlerAdapter
 
- 
exceptionCaught
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)- Specified by:
 exceptionCaughtin interfaceio.netty.channel.ChannelHandler- Specified by:
 exceptionCaughtin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
 exceptionCaughtin classio.netty.channel.ChannelInboundHandlerAdapter
 
 - 
 
 -