Class Http2ServerHandler
java.lang.Object
io.micronaut.http.server.netty.handler.Http2ServerHandler
- All Implemented Interfaces:
 io.netty.handler.codec.http2.Http2FrameListener
@Internal
public final class Http2ServerHandler
extends Object
implements io.netty.handler.codec.http2.Http2FrameListener
HTTP/2-specific server handler.
- Since:
 - 4.4.0
 - Author:
 - Jonas Konrad
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHttp2ConnectionHandlerimplementation containing theHttp2ServerHandler.static final classHttp2ConnectionHandlerbuilder for theHttp2ServerHandler. - 
Method Summary
Modifier and TypeMethodDescriptionintonDataRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.buffer.ByteBuf data, int padding, boolean endOfStream) voidonGoAwayRead(io.netty.channel.ChannelHandlerContext ctx, int lastStreamId, long errorCode, io.netty.buffer.ByteBuf debugData) voidonHeadersRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int padding, boolean endOfStream) voidonHeadersRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream) voidonPingAckRead(io.netty.channel.ChannelHandlerContext ctx, long data) voidonPingRead(io.netty.channel.ChannelHandlerContext ctx, long data) voidonPriorityRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive) voidonPushPromiseRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, int promisedStreamId, io.netty.handler.codec.http2.Http2Headers headers, int padding) voidonRstStreamRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, long errorCode) voidonSettingsAckRead(io.netty.channel.ChannelHandlerContext ctx) voidonSettingsRead(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http2.Http2Settings settings) voidonUnknownFrame(io.netty.channel.ChannelHandlerContext ctx, byte frameType, int streamId, io.netty.handler.codec.http2.Http2Flags flags, io.netty.buffer.ByteBuf payload) voidonWindowUpdateRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)  
- 
Method Details
- 
onDataRead
public int onDataRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.buffer.ByteBuf data, int padding, boolean endOfStream) throws io.netty.handler.codec.http2.Http2Exception - Specified by:
 onDataReadin interfaceio.netty.handler.codec.http2.Http2FrameListener- Throws:
 io.netty.handler.codec.http2.Http2Exception
 - 
onHeadersRead
public void onHeadersRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int padding, boolean endOfStream) throws io.netty.handler.codec.http2.Http2Exception - Specified by:
 onHeadersReadin interfaceio.netty.handler.codec.http2.Http2FrameListener- Throws:
 io.netty.handler.codec.http2.Http2Exception
 - 
onHeadersRead
public void onHeadersRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, io.netty.handler.codec.http2.Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream) throws io.netty.handler.codec.http2.Http2Exception - Specified by:
 onHeadersReadin interfaceio.netty.handler.codec.http2.Http2FrameListener- Throws:
 io.netty.handler.codec.http2.Http2Exception
 - 
onPriorityRead
public void onPriorityRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive) - Specified by:
 onPriorityReadin interfaceio.netty.handler.codec.http2.Http2FrameListener
 - 
onRstStreamRead
public void onRstStreamRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, long errorCode) throws io.netty.handler.codec.http2.Http2Exception - Specified by:
 onRstStreamReadin interfaceio.netty.handler.codec.http2.Http2FrameListener- Throws:
 io.netty.handler.codec.http2.Http2Exception
 - 
onSettingsAckRead
public void onSettingsAckRead(io.netty.channel.ChannelHandlerContext ctx) - Specified by:
 onSettingsAckReadin interfaceio.netty.handler.codec.http2.Http2FrameListener
 - 
onSettingsRead
public void onSettingsRead(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http2.Http2Settings settings) - Specified by:
 onSettingsReadin interfaceio.netty.handler.codec.http2.Http2FrameListener
 - 
onPingRead
public void onPingRead(io.netty.channel.ChannelHandlerContext ctx, long data) - Specified by:
 onPingReadin interfaceio.netty.handler.codec.http2.Http2FrameListener
 - 
onPingAckRead
public void onPingAckRead(io.netty.channel.ChannelHandlerContext ctx, long data) - Specified by:
 onPingAckReadin interfaceio.netty.handler.codec.http2.Http2FrameListener
 - 
onPushPromiseRead
public void onPushPromiseRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, int promisedStreamId, io.netty.handler.codec.http2.Http2Headers headers, int padding) - Specified by:
 onPushPromiseReadin interfaceio.netty.handler.codec.http2.Http2FrameListener
 - 
onGoAwayRead
public void onGoAwayRead(io.netty.channel.ChannelHandlerContext ctx, int lastStreamId, long errorCode, io.netty.buffer.ByteBuf debugData) throws io.netty.handler.codec.http2.Http2Exception - Specified by:
 onGoAwayReadin interfaceio.netty.handler.codec.http2.Http2FrameListener- Throws:
 io.netty.handler.codec.http2.Http2Exception
 - 
onWindowUpdateRead
public void onWindowUpdateRead(io.netty.channel.ChannelHandlerContext ctx, int streamId, int windowSizeIncrement) - Specified by:
 onWindowUpdateReadin interfaceio.netty.handler.codec.http2.Http2FrameListener
 - 
onUnknownFrame
public void onUnknownFrame(io.netty.channel.ChannelHandlerContext ctx, byte frameType, int streamId, io.netty.handler.codec.http2.Http2Flags flags, io.netty.buffer.ByteBuf payload) - Specified by:
 onUnknownFramein interfaceio.netty.handler.codec.http2.Http2FrameListener
 
 -