public class Http2DataFrame extends Http2Frame
Http2DataFrame represents an HTTP/2 data frame.| Constructor and Description |
|---|
Http2DataFrame(int streamId,
io.netty.buffer.ByteBuf data,
boolean endOfStream)
Constructs an
Http2DataFrame with a given ByteBuf that holds data. |
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
getData()
Gets the
ByteBuf that holds data. |
getStreamId, isEndOfStream, setEndOfStream, setStreamIdpublic Http2DataFrame(int streamId,
io.netty.buffer.ByteBuf data,
boolean endOfStream)
Http2DataFrame with a given ByteBuf that holds data.streamId - id of the streamdata - the ByteBuf that holds dataendOfStream - whether this frame marks the end of the streamCopyright © 2023 WSO2. All rights reserved.