org.apache.hc.core5.http2.frame

## Class RawFrame

- java.lang.Object
- - org.apache.hc.core5.http2.frame.Frame<ByteBuffer>
  - - org.apache.hc.core5.http2.frame.RawFrame

-     public final class RawFrame
      extends Frame<ByteBuffer>

  HTTP/2 stream frame.
  Since:
    5.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RawFrame(int type, int flags, int streamId, ByteBuffer payload)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getLength()`
    `ByteBuffer` | `getPayload()`
    `ByteBuffer` | `getPayloadContent()`
    `boolean` | `isPadded()`

    - ### Methods inherited from class org.apache.hc.core5.http2.frame.Frame

      `getFlags, getStreamId, getType, isFlagSet, isType, toString`

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

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

- - ### Constructor Detail

    - #### RawFrame

          public RawFrame(int type,
                  int flags,
                  int streamId,
                  ByteBuffer payload)

  - ### Method Detail

    - #### isPadded

          public boolean isPadded()

    - #### getLength

          public int getLength()

    - #### getPayloadContent

          public ByteBuffer getPayloadContent()

    - #### getPayload

          public ByteBuffer getPayload()

      Specified by:
        `getPayload` in class `Frame<ByteBuffer>`

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