@UnstableApi 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() |
boolean |
isEndStream()
true if this frame is the last one in this direction of the stream. |
int |
padding()
Frame padding to use.
|
Http2DataFrame |
replace(io.netty.buffer.ByteBuf content) |
Http2DataFrame |
retain() |
Http2DataFrame |
retain(int increment) |
Http2DataFrame |
retainedDuplicate() |
Http2DataFrame |
setStream(Object stream)
Set the stream identifier for this message.
|
Http2DataFrame |
touch() |
Http2DataFrame |
touch(Object hint) |
streamHttp2DataFrame setStream(Object stream)
Http2StreamFramesetStream in interface Http2StreamFramethisboolean isEndStream()
true if this frame is the last one in this direction of the stream.int padding()
io.netty.buffer.ByteBuf content()
null.content in interface io.netty.buffer.ByteBufHolderHttp2DataFrame 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–2016 The Netty Project. All rights reserved.