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

## Class FrameOutputBuffer

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

-     public final class FrameOutputBuffer
      extends Object

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

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `H2TransportMetrics` | `getMetrics()`
    `void` | `write(RawFrame frame, OutputStream outStream)`

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

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

- - ### Constructor Detail

    - #### FrameOutputBuffer

          public FrameOutputBuffer(BasicH2TransportMetrics metrics,
                                   int maxFramePayloadSize)

    - #### FrameOutputBuffer

          public FrameOutputBuffer(int maxFramePayloadSize)

  - ### Method Detail

    - #### write

          public void write(RawFrame frame,
                            OutputStream outStream)
                     throws IOException

      Throws:
        `IOException`

    - #### getMetrics

          public H2TransportMetrics getMetrics()

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