class DefaultHttp2ConnectionEncoder implements Http2ConnectionEncoder, Http2SettingsReceivedConsumer {

  @Override
  public ChannelFuture writeHeaders(
      final ChannelHandlerContext ctx,
      final int streamId,
      final Http2Headers headers,
      final int padding,
      final boolean endStream,
      final ChannelPromise promise) {
    return writeHeaders(
        ctx,
        streamId,
        headers,
        0,
        Http2CodecUtil.DEFAULT_PRIORITY_WEIGHT,
        false,
        padding,
        endStream,
        promise);
  }

  public  DefaultHttp2ConnectionEncoder(
      final Http2Connection connection, final Http2FrameWriter frameWriter);

}