public class WsAndHttpChannelizerHandler
extends ChannelInboundHandlerAdapter
WsAndHttpChannelizer
that toggles between WebSockets
and http.Constructor and Description |
---|
WsAndHttpChannelizerHandler() |
Modifier and Type | Method and Description |
---|---|
void |
channelRead(ChannelHandlerContext ctx,
Object obj) |
void |
configure(ChannelPipeline pipeline) |
void |
exceptionCaught(ChannelHandlerContext ctx,
Throwable cause) |
Channelizer |
getWsChannelizer() |
void |
init(ServerGremlinExecutor<EventLoopGroup> serverGremlinExecutor,
HttpGremlinEndpointHandler httpGremlinEndpointHandler) |
public void init(ServerGremlinExecutor<EventLoopGroup> serverGremlinExecutor, HttpGremlinEndpointHandler httpGremlinEndpointHandler)
public Channelizer getWsChannelizer()
public void configure(ChannelPipeline pipeline)
public void channelRead(ChannelHandlerContext ctx, Object obj)
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause)
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.