public interface Http2DataFrame extends Http2StreamFrame, io.netty.buffer.ByteBufHolder
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
content()
Payload of DATA frame.
|
Http2DataFrame |
copy() |
Http2DataFrame |
duplicate() |
int |
initialFlowControlledBytes()
Returns the number of bytes that are flow-controlled initially, so even if the
content() is consumed
this will not change. |
boolean |
isEndStream()
Returns
true if the END_STREAM flag is set. |
int |
padding()
Frame padding to use.
|
Http2DataFrame |
replace(io.netty.buffer.ByteBuf content) |
Http2DataFrame |
retain() |
Http2DataFrame |
retain(int increment) |
Http2DataFrame |
retainedDuplicate() |
Http2DataFrame |
touch() |
Http2DataFrame |
touch(Object hint) |
stream, streamnameint padding()
io.netty.buffer.ByteBuf content()
null.content in interface io.netty.buffer.ByteBufHolderint initialFlowControlledBytes()
content() is consumed
this will not change.boolean isEndStream()
true if the END_STREAM flag is set.Http2DataFrame copy()
copy in interface io.netty.buffer.ByteBufHolderHttp2DataFrame duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderHttp2DataFrame retainedDuplicate()
retainedDuplicate in interface io.netty.buffer.ByteBufHolderHttp2DataFrame replace(io.netty.buffer.ByteBuf content)
replace in interface io.netty.buffer.ByteBufHolderHttp2DataFrame retain()
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedHttp2DataFrame retain(int increment)
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedHttp2DataFrame touch()
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedHttp2DataFrame touch(Object hint)
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedCopyright © 2008–2025 The Netty Project. All rights reserved.