org.apache.hc.core5.http2.impl.io

## Class FrameInputBuffer

- java.lang.Object
- - org.apache.hc.core5.http2.impl.io.FrameInputBuffer

-     public final class FrameInputBuffer
      extends Object

  Frame input buffer for HTTP/2 blocking connections.
  Since:
    5.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FrameInputBuffer(BasicH2TransportMetrics metrics, int maxFramePayloadSize)`
    `FrameInputBuffer(int maxFramePayloadSize)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `H2TransportMetrics` | `getMetrics()`
    `RawFrame` | `read(InputStream inStream)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FrameInputBuffer

          public FrameInputBuffer(BasicH2TransportMetrics metrics,
                          int maxFramePayloadSize)

    - #### FrameInputBuffer

          public FrameInputBuffer(int maxFramePayloadSize)

  - ### Method Detail

    - #### read

          public RawFrame read(InputStream inStream)
                        throws IOException

      Throws:
        `IOException`

    - #### getMetrics

          public H2TransportMetrics getMetrics()

Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.