Class Http2Handler

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

    @Sharable
    public final class Http2Handler
    extends AsyncHttpClientHandler
    HTTP/2 channel handler for stream child channels created by Http2MultiplexHandler.

    Each HTTP/2 stream is represented as a child channel. This handler is attached to each stream child channel and processes Http2HeadersFrame (response status + headers) and Http2DataFrame (response body) frames directly for maximum performance — no HTTP/1.1 object conversion overhead.

    Follows the same structure as HttpHandler and reuses the same interceptor chain, body part factory, and lifecycle methods from AsyncHttpClientHandler.