Package io.netty.handler.codec.http2
Class StreamBufferingEncoder.DataFrame
- java.lang.Object
-
- io.netty.handler.codec.http2.StreamBufferingEncoder.Frame
-
- io.netty.handler.codec.http2.StreamBufferingEncoder.DataFrame
-
- Enclosing class:
- StreamBufferingEncoder
private final class StreamBufferingEncoder.DataFrame extends StreamBufferingEncoder.Frame
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ByteBuf
data
(package private) boolean
endOfStream
(package private) int
padding
-
Fields inherited from class io.netty.handler.codec.http2.StreamBufferingEncoder.Frame
promise
-
-
Constructor Summary
Constructors Constructor Description DataFrame(ByteBuf data, int padding, boolean endOfStream, ChannelPromise promise)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
release(java.lang.Throwable t)
Release any resources (features, buffers, ...) associated with the frame.(package private) void
send(ChannelHandlerContext ctx, int streamId)
-
-
-
Field Detail
-
data
final ByteBuf data
-
padding
final int padding
-
endOfStream
final boolean endOfStream
-
-
Constructor Detail
-
DataFrame
DataFrame(ByteBuf data, int padding, boolean endOfStream, ChannelPromise promise)
-
-
Method Detail
-
release
void release(java.lang.Throwable t)
Description copied from class:StreamBufferingEncoder.Frame
Release any resources (features, buffers, ...) associated with the frame.- Overrides:
release
in classStreamBufferingEncoder.Frame
-
send
void send(ChannelHandlerContext ctx, int streamId)
- Specified by:
send
in classStreamBufferingEncoder.Frame
-
-