@Override
    public void upgradeTo(ChannelHandlerContext ctx) {
        try {
            // Add the HTTP/2 connection handler to the pipeline immediately following the current handler.
            ctx.pipeline().addAfter(ctx.name(), null, connectionHandler);
            connectionHandler.onHttpServerUpgrade(settings);
        } catch (Http2Exception e) {
            ctx.fireExceptionCaught(e);
            ctx.close();
        }
    }
Creates the codec using a default name for the connection handler when adding to the
pipeline.

@param connectionHandler the HTTP/2 connection handler
core/src/main/java/com/linecorp/armeria/server/Http2ServerUpgradeCodec.java