程序包 | 说明 |
---|---|
io.netty.example.http2.helloworld.server | |
io.netty.handler.codec.http2 |
Benchmarks for
io.netty.handler.codec.http2 . |
io.netty.testsuite.http2 |
This package is intended to test the http2 implementation against the specification
using h2spec
|
限定符和类型 | 方法和说明 |
---|---|
void |
HelloWorldHttp2Handler.onUnknownFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload) |
限定符和类型 | 方法和说明 |
---|---|
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 |
Http2UnknownFrame.flags() |
Http2Flags |
DefaultHttp2UnknownFrame.flags() |
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.
|
限定符和类型 | 方法和说明 |
---|---|
void |
Http2FrameLogger.logUnknownFrame(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf data) |
void |
Http2FrameListenerDecorator.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 |
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) |
ChannelFuture |
Http2OutboundFrameLogger.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. |
ChannelFuture |
DefaultHttp2FrameWriter.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise) |
ChannelFuture |
DecoratingHttp2FrameWriter.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise) |
static void |
Http2CodecUtil.writeFrameHeader(ByteBuf out,
int payloadLength,
byte type,
Http2Flags flags,
int streamId)
Writes an HTTP/2 frame header to the output buffer.
|
构造器和说明 |
---|
DefaultHttp2UnknownFrame(byte frameType,
Http2Flags flags) |
DefaultHttp2UnknownFrame(byte frameType,
Http2Flags flags,
ByteBuf data) |
限定符和类型 | 方法和说明 |
---|---|
void |
HelloWorldHttp2Handler.onUnknownFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload) |