public class NettyHttpServerHandler<IN,OUT> extends NettyChannelHandlerBridge<IN,OUT>
NettyHttpChannel and Buffer).NettyChannelHandlerBridge.ChannelInputSubscriberEvent<IN>| Modifier and Type | Field and Description |
|---|---|
protected NettyHttpChannel<IN,OUT> |
request |
channelStream, channelSubscription, handler, log| Constructor and Description |
|---|
NettyHttpServerHandler(ReactorChannelHandler<IN,OUT,ChannelStream<IN,OUT>> handler,
NettyChannelStream<IN,OUT> tcpStream) |
| 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 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, doOnTerminate, doRead, exceptionCaught, getChannelStream, getHandler, subscription, userEventTriggered, writebind, close, connect, deregister, disconnect, flush, readchannelRegistered, channelUnregistered, channelWritabilityChangedhandlerAdded, handlerRemoved, isSharableprotected NettyHttpChannel<IN,OUT> request
public NettyHttpServerHandler(ReactorChannelHandler<IN,OUT,ChannelStream<IN,OUT>> handler, NettyChannelStream<IN,OUT> tcpStream)
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws java.lang.Exception
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class NettyChannelHandlerBridge<IN,OUT>java.lang.Exceptionpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg)
throws java.lang.Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class NettyChannelHandlerBridge<IN,OUT>java.lang.Exceptionprotected void postRead(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg)
protected void writeLast(io.netty.channel.ChannelHandlerContext ctx)
protected io.netty.channel.ChannelFuture writeFirst(io.netty.channel.ChannelHandlerContext ctx)
protected io.netty.channel.ChannelFuture doOnWrite(java.lang.Object data,
io.netty.channel.ChannelHandlerContext ctx)
doOnWrite in class NettyChannelHandlerBridge<IN,OUT>