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, stream
name
int padding()
io.netty.buffer.ByteBuf content()
null
.content
in interface io.netty.buffer.ByteBufHolder
int 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.ByteBufHolder
Http2DataFrame duplicate()
duplicate
in interface io.netty.buffer.ByteBufHolder
Http2DataFrame retainedDuplicate()
retainedDuplicate
in interface io.netty.buffer.ByteBufHolder
Http2DataFrame replace(io.netty.buffer.ByteBuf content)
replace
in interface io.netty.buffer.ByteBufHolder
Http2DataFrame retain()
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface io.netty.util.ReferenceCounted
Http2DataFrame retain(int increment)
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface io.netty.util.ReferenceCounted
Http2DataFrame touch()
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface io.netty.util.ReferenceCounted
Http2DataFrame touch(Object hint)
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface io.netty.util.ReferenceCounted
Copyright © 2008–2024 The Netty Project. All rights reserved.