class DefaultHttp2ConnectionEncoder implements Http2ConnectionEncoder {

    @Override
    public ChannelFuture writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData,
            ChannelPromise promise) {
        return lifecycleManager.goAway(ctx, lastStreamId, errorCode, debugData, promise);
    }

    public  DefaultHttp2ConnectionEncoder(Http2Connection connection, Http2FrameWriter frameWriter);

}