public class NettyHttpWSClientHandler<IN,OUT> extends NettyHttpClientHandler<IN,OUT>
NettyChannelHandlerBridge.ChannelInputSubscriberEvent<IN>requestchannelStream, 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,
java.lang.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(java.lang.Object data,
io.netty.channel.ChannelHandlerContext ctx) |
protected void |
postRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.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, writebind, close, connect, deregister, disconnect, flush, readchannelRegistered, channelUnregistered, channelWritabilityChangedhandlerAdded, handlerRemoved, isSharablepublic 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 java.lang.Exception
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class NettyHttpClientHandler<IN,OUT>java.lang.Exceptionprotected void writeLast(io.netty.channel.ChannelHandlerContext ctx)
writeLast in class NettyHttpClientHandler<IN,OUT>protected void postRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg)
postRead in class NettyHttpClientHandler<IN,OUT>public void channelRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg)
throws java.lang.Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class NettyHttpClientHandler<IN,OUT>java.lang.Exceptionprotected io.netty.channel.ChannelFuture doOnWrite(java.lang.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>