public class NettyHttpServerHandler extends io.netty.channel.SimpleChannelInboundHandler<Object>
| Constructor and Description |
|---|
NettyHttpServerHandler(cloud.piranha.api.HttpServerProcessor httpServerProcessor)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext context,
Object object)
Read the channel.
|
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext context)
Complete the channel read.
|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext context,
Throwable throwable)
Handle the exception.
|
acceptInboundMessage, channelReadchannelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic NettyHttpServerHandler(cloud.piranha.api.HttpServerProcessor httpServerProcessor)
httpServerProcessor - the HTTP server processor.public void channelReadComplete(io.netty.channel.ChannelHandlerContext context)
channelReadComplete in interface io.netty.channel.ChannelInboundHandlerchannelReadComplete in class io.netty.channel.ChannelInboundHandlerAdaptercontext - the context.protected void channelRead0(io.netty.channel.ChannelHandlerContext context,
Object object)
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<Object>context - the context.object - the object read.public void exceptionCaught(io.netty.channel.ChannelHandlerContext context,
Throwable throwable)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdaptercontext - the context.throwable - the throwable.Copyright © 2020. All rights reserved.