class DefaultHttp2FrameReader implements Http2FrameReader, Http2FrameSizePolicy, Configuration {

  @SuppressWarnings("checkstyle:FinalParameters")
  private void readUnknownFrame(
      final ChannelHandlerContext ctx,
      ByteBuf payload,
      final int payloadEndIndex,
      final Http2FrameListener listener)
      throws Http2Exception {
    payload = payload.readSlice(payloadEndIndex - payload.readerIndex());
    listener.onUnknownFrame(ctx, frameType, streamId, flags, payload);
  }

  public  DefaultHttp2FrameReader();
  public  DefaultHttp2FrameReader(final boolean validateHeaders);
  public  DefaultHttp2FrameReader(final Http2HeadersDecoder headersDecoder);

}