public class XioHttp2StreamHandler
extends io.netty.channel.ChannelDuplexHandler
Constructor and Description |
---|
XioHttp2StreamHandler() |
Modifier and Type | Method and Description |
---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
onDataRead(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http2.Http2DataFrame data)
If receive a frame with end-of-stream set, send a pre-canned response.
|
void |
onHeadersRead(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http2.Http2HeadersFrame headers)
If receive a frame with end-of-stream set, send a pre-canned response.
|
bind, close, connect, deregister, disconnect, flush, read, write
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
handlerAdded, handlerRemoved, isSharable
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void onDataRead(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http2.Http2DataFrame data) throws Exception
Exception
Copyright © 2016. All Rights Reserved.