Package | Description |
---|---|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Method and Description |
---|---|
Http2Flags |
Http2Flags.ack(boolean ack)
Sets the
ACK flag. |
Http2Flags |
Http2Flags.endOfHeaders(boolean endOfHeaders)
Sets the
END_HEADERS flag. |
Http2Flags |
Http2Flags.endOfStream(boolean endOfStream)
Sets the
END_STREAM flag. |
Http2Flags |
Http2Flags.paddingPresent(boolean paddingPresent)
Sets the
PADDED flag. |
Http2Flags |
Http2Flags.priorityPresent(boolean priorityPresent)
Sets the
PRIORITY flag. |
Http2Flags |
Http2Flags.setFlag(boolean on,
short mask)
Generic method to set any flag.
|
Modifier and Type | Method and Description |
---|---|
void |
Http2FrameLogger.logUnknownFrame(Http2FrameLogger.Direction direction,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf data) |
void |
Http2FrameAdapter.onUnknownFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload) |
void |
Http2EventAdapter.onUnknownFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload) |
void |
Http2FrameListener.onUnknownFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload)
Handler for a frame not defined by the HTTP/2 spec.
|
void |
Http2FrameListenerDecorator.onUnknownFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload) |
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2FrameWriter.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise)
Generic write method for any HTTP/2 frame.
|
ChannelFuture |
Http2ConnectionEncoder.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise)
Writes the given data to the internal
Http2FrameWriter without performing any
state checks on the connection/stream. |
static void |
Http2CodecUtil.writeFrameHeader(ByteBuf out,
int payloadLength,
byte type,
Http2Flags flags,
int streamId)
Writes an HTTP/2 frame header to the output buffer.
|
Copyright © 2008–2015 The Netty Project. All rights reserved.