软件包 | 描述 |
---|---|
io.netty.handler.codec.http2 |
用于发送和接收HTTP / 2帧的处理程序。
|
Modifier and Type | Method and Description |
---|---|
Http2Flags |
Http2Flags.ack(boolean ack)
设置
ACK 标志。
|
Http2Flags |
Http2Flags.endOfHeaders(boolean endOfHeaders)
设置
END_HEADERS 标志。
|
Http2Flags |
Http2Flags.endOfStream(boolean endOfStream)
设置
END_STREAM 标志。
|
Http2Flags |
Http2UnknownFrame.flags() |
Http2Flags |
DefaultHttp2UnknownFrame.flags() |
Http2Flags |
Http2Flags.paddingPresent(boolean paddingPresent)
设置
PADDED 标志。
|
Http2Flags |
Http2Flags.priorityPresent(boolean priorityPresent)
设置
PRIORITY 标志。
|
Http2Flags |
Http2Flags.setFlag(boolean on, short mask)
通用方法设置任何标志。
|
Modifier and Type | Method and Description |
---|---|
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)
处理程序不是由HTTP / 2规范定义的。
|
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)
任何HTTP / 2帧的通用写入方法。
|
ChannelFuture |
Http2ConnectionEncoder.writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)
将给定数据写入内部 Http2FrameWriter ,而不对连接/流执行任何状态检查。
|
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)
将HTTP / 2帧头写入输出缓冲区。
|
Constructor and Description |
---|
DefaultHttp2UnknownFrame(byte frameType, Http2Flags flags) |
DefaultHttp2UnknownFrame(byte frameType, Http2Flags flags, ByteBuf data) |
Copyright © 2008–2018 The Netty Project. All rights reserved.