Example usage for io.netty.handler.codec.http2 HttpToHttp2ConnectionHandler subclass-usage

List of usage examples for io.netty.handler.codec.http2 HttpToHttp2ConnectionHandler subclass-usage

Introduction

In this page you can find the example usage for io.netty.handler.codec.http2 HttpToHttp2ConnectionHandler subclass-usage.

Usage

From source file com.linecorp.armeria.common.http.AbstractHttpToHttp2ConnectionHandler.java

public abstract class AbstractHttpToHttp2ConnectionHandler extends HttpToHttp2ConnectionHandler {

    /**
     * XXX(trustin): Don't know why, but {@link Http2ConnectionHandler} does not close the last stream
     *               on a cleartext connection, so we make sure all streams are closed.
     */

From source file com.vmware.xenon.common.http.netty.NettyHttpToHttp2Handler.java

/**
 * Translates HTTP/1.x object writes into HTTP/2 frames.
 *
 * Extend original netty handler to record the association between an HTTP/2 stream ID and our
 * operation, so we can properly handle responses.
 */