public class NettyHttpWSClientHandler<IN,OUT> extends NettyHttpClientHandler<IN,OUT>
NettyChannelHandlerBridge.ChannelInputSubscriberEvent<IN>
request
CHANNEL_REF, channelStream, channelSubscription, handler, log
Constructor and Description |
---|
NettyHttpWSClientHandler(ReactorChannelHandler<IN,OUT,ChannelStream<IN,OUT>> handler,
NettyChannelStream<IN,OUT> tcpStream,
io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker handshaker) |
Modifier and Type | Method and Description |
---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected void |
doOnTerminate(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelFuture last,
io.netty.channel.ChannelPromise promise) |
protected io.netty.channel.ChannelFuture |
doOnWrite(Object data,
io.netty.channel.ChannelHandlerContext ctx) |
protected void |
postRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected io.netty.channel.ChannelFuture |
writeFirst(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
writeLast(io.netty.channel.ChannelHandlerContext ctx) |
channelInactive, channelReadComplete, convertBufferToByteBuff, doOnSubscribe, doRead, exceptionCaught, getChannelStream, getHandler, subscription, userEventTriggered, write
bind, close, connect, deregister, disconnect, flush, read
channelRegistered, channelUnregistered, channelWritabilityChanged
handlerAdded, handlerRemoved, isSharable
public NettyHttpWSClientHandler(ReactorChannelHandler<IN,OUT,ChannelStream<IN,OUT>> handler, NettyChannelStream<IN,OUT> tcpStream, io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker handshaker)
protected io.netty.channel.ChannelFuture writeFirst(io.netty.channel.ChannelHandlerContext ctx)
writeFirst
in class NettyHttpClientHandler<IN,OUT>
public void channelActive(io.netty.channel.ChannelHandlerContext ctx) throws Exception
channelActive
in interface io.netty.channel.ChannelInboundHandler
channelActive
in class NettyHttpClientHandler<IN,OUT>
Exception
protected void writeLast(io.netty.channel.ChannelHandlerContext ctx)
writeLast
in class NettyHttpClientHandler<IN,OUT>
protected void postRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
postRead
in class NettyHttpClientHandler<IN,OUT>
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class NettyHttpClientHandler<IN,OUT>
Exception
protected io.netty.channel.ChannelFuture doOnWrite(Object data, io.netty.channel.ChannelHandlerContext ctx)
doOnWrite
in class NettyHttpClientHandler<IN,OUT>
protected void doOnTerminate(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.ChannelFuture last, io.netty.channel.ChannelPromise promise)
doOnTerminate
in class NettyHttpClientHandler<IN,OUT>
Copyright © 2016. All rights reserved.