Package org.apache.hc.core5.http2.frame
Class RawFrame
- java.lang.Object
-
- org.apache.hc.core5.http2.frame.Frame<java.nio.ByteBuffer>
-
- org.apache.hc.core5.http2.frame.RawFrame
-
public final class RawFrame extends Frame<java.nio.ByteBuffer>
HTTP/2 stream frame.- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description RawFrame(int type, int flags, int streamId, java.nio.ByteBuffer payload)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLength()
java.nio.ByteBuffer
getPayload()
java.nio.ByteBuffer
getPayloadContent()
boolean
isPadded()
-
-
-
Method Detail
-
isPadded
public boolean isPadded()
-
getLength
public int getLength()
-
getPayloadContent
public java.nio.ByteBuffer getPayloadContent()
-
getPayload
public java.nio.ByteBuffer getPayload()
- Specified by:
getPayload
in classFrame<java.nio.ByteBuffer>
-
-