Class HttpToHttp2ConnectionHandler

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

    public class HttpToHttp2ConnectionHandler
    extends Http2ConnectionHandler
    Translates HTTP/1.x object writes into HTTP/2 frames.

    See InboundHttp2ToHttpAdapter to get translation from HTTP/2 frames to HTTP/1.x objects.

    • Method Detail

      • write

        public void write​(io.netty.channel.ChannelHandlerContext ctx,
                          Object msg,
                          io.netty.channel.ChannelPromise promise)
        Handles conversion of HttpMessage and HttpContent to HTTP/2 frames.
        Specified by:
        write in interface io.netty.channel.ChannelOutboundHandler
        Overrides:
        write in class Http2ConnectionHandler