public interface Http2DataFrame extends Http2StreamFrame, ByteBufHolder
| Modifier and Type | Method and Description |
|---|---|
ByteBuf |
content()
Payload of DATA frame.
|
Http2DataFrame |
copy()
Create a deep copy of this
ByteBufHolder. |
Http2DataFrame |
duplicate()
Duplicate the
ByteBufHolder. |
boolean |
isEndStream()
true if this frame is the last one in this direction of the stream. |
int |
padding()
Frame padding to use.
|
Http2DataFrame |
retain()
Increases the reference count by
1. |
Http2DataFrame |
retain(int increment)
Increases the reference count by the specified
increment. |
Http2DataFrame |
setStream(Object stream)
Set the stream identifier for this message.
|
Http2DataFrame |
touch()
Records the current access location of this object for debugging purposes.
|
Http2DataFrame |
touch(Object hint)
Records the current access location of this object with an additonal arbitrary information for debugging
purposes.
|
streamrefCnt, release, releaseHttp2DataFrame setStream(Object stream)
Http2StreamFramesetStream in interface Http2StreamFramethisboolean isEndStream()
true if this frame is the last one in this direction of the stream.int padding()
ByteBuf content()
null.content in interface ByteBufHolderHttp2DataFrame copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHolderHttp2DataFrame duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderHttp2DataFrame retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface ReferenceCountedHttp2DataFrame retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface ReferenceCountedHttp2DataFrame touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface ReferenceCountedHttp2DataFrame touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface ReferenceCountedCopyright © 2008–2016 The Netty Project. All rights reserved.