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 SummaryConstructors Constructor Description WsAndHttpChannelizerHandler()
 - 
Method SummaryAll 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.ChannelInboundHandlerAdapterchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
 - 
Methods inherited from class io.netty.channel.ChannelHandlerAdapterensureNotSharable, handlerAdded, handlerRemoved, isSharable
 
- 
 
- 
- 
- 
Method Detail- 
initpublic void init(ServerGremlinExecutor serverGremlinExecutor, HttpGremlinEndpointHandler httpGremlinEndpointHandler) 
 - 
getWsChannelizerpublic Channelizer getWsChannelizer() 
 - 
configurepublic void configure(io.netty.channel.ChannelPipeline pipeline) 
 - 
channelReadpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object obj)- Specified by:
- channelReadin interface- io.netty.channel.ChannelInboundHandler
- Overrides:
- channelReadin class- io.netty.channel.ChannelInboundHandlerAdapter
 
 - 
exceptionCaughtpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)- Specified by:
- exceptionCaughtin interface- io.netty.channel.ChannelHandler
- Specified by:
- exceptionCaughtin interface- io.netty.channel.ChannelInboundHandler
- Overrides:
- exceptionCaughtin class- io.netty.channel.ChannelInboundHandlerAdapter
 
 
- 
 
-