@UnstableApi public interface Http2DataFrame extends Http2StreamFrame, ByteBufHolder
| 限定符和类型 | 方法和说明 |
|---|---|
ByteBuf |
content()
Payload of DATA frame.
|
Http2DataFrame |
copy()
Creates a deep copy of this
ByteBufHolder. |
Http2DataFrame |
duplicate()
Duplicates this
ByteBufHolder. |
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(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content. |
Http2DataFrame |
retain()
Increases the reference count by
1. |
Http2DataFrame |
retain(int increment)
Increases the reference count by the specified
increment. |
Http2DataFrame |
retainedDuplicate()
Duplicates this
ByteBufHolder. |
Http2DataFrame |
touch()
Records the current access location of this object for debugging purposes.
|
Http2DataFrame |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
stream, streamnamerefCnt, release, releaseint padding()
ByteBuf content()
null.content 在接口中 ByteBufHolderint initialFlowControlledBytes()
content() is consumed
this will not change.boolean isEndStream()
true if the END_STREAM flag is set.Http2DataFrame copy()
ByteBufHolderByteBufHolder.copy 在接口中 ByteBufHolderHttp2DataFrame duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate 在接口中 ByteBufHolderHttp2DataFrame retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate 在接口中 ByteBufHolderByteBuf.retainedDuplicate()Http2DataFrame replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace 在接口中 ByteBufHolderHttp2DataFrame retain()
ReferenceCounted1.retain 在接口中 ByteBufHolderretain 在接口中 ReferenceCountedHttp2DataFrame retain(int increment)
ReferenceCountedincrement.retain 在接口中 ByteBufHolderretain 在接口中 ReferenceCountedHttp2DataFrame touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch 在接口中 ByteBufHoldertouch 在接口中 ReferenceCountedHttp2DataFrame touch(java.lang.Object hint)
ReferenceCountedResourceLeakDetector.touch 在接口中 ByteBufHoldertouch 在接口中 ReferenceCounted