软件包 | 描述 |
---|---|
io.netty.handler.codec.http2 |
用于发送和接收HTTP / 2帧的处理程序。
|
Modifier and Type | Method and Description |
---|---|
Http2Settings |
Http2Settings.copyFrom(Http2Settings settings)
清除然后将给定的设置复制到此对象中。
|
static Http2Settings |
Http2Settings.defaultSettings() |
Http2Settings |
Http2Settings.headerTableSize(long value)
设置
SETTINGS_HEADER_TABLE_SIZE 值。
|
Http2Settings |
Http2MultiplexCodecBuilder.initialSettings() |
Http2Settings |
Http2FrameCodecBuilder.initialSettings() |
protected Http2Settings |
AbstractHttp2ConnectionHandlerBuilder.initialSettings()
将 Http2Settings 设置为用于初始连接设置交换。
|
Http2Settings |
Http2Settings.initialWindowSize(int value)
设置
SETTINGS_INITIAL_WINDOW_SIZE 值。
|
Http2Settings |
Http2ConnectionDecoder.localSettings()
获取HTTP / 2连接的此端点的本地设置。
|
Http2Settings |
DefaultHttp2ConnectionDecoder.localSettings() |
Http2Settings |
DecoratingHttp2ConnectionDecoder.localSettings() |
Http2Settings |
Http2Settings.maxConcurrentStreams(long value)
设置
SETTINGS_MAX_CONCURRENT_STREAMS 值。
|
Http2Settings |
Http2Settings.maxFrameSize(int value)
设置
SETTINGS_MAX_FRAME_SIZE 值。
|
Http2Settings |
Http2Settings.maxHeaderListSize(long value)
设置
SETTINGS_MAX_HEADER_LIST_SIZE 值。
|
Http2Settings |
Http2ConnectionEncoder.pollSentSettings()
获取已发送但未确认的队列顶部的本地设置。
|
Http2Settings |
DefaultHttp2ConnectionEncoder.pollSentSettings() |
Http2Settings |
DecoratingHttp2ConnectionEncoder.pollSentSettings() |
Http2Settings |
Http2Settings.pushEnabled(boolean enabled)
设置
SETTINGS_ENABLE_PUSH 值。
|
Http2Settings |
Http2SettingsFrame.settings() |
Http2Settings |
DefaultHttp2SettingsFrame.settings() |
Modifier and Type | Method and Description |
---|---|
protected HttpToHttp2ConnectionHandler |
HttpToHttp2ConnectionHandlerBuilder.build(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings) |
protected Http2MultiplexCodec |
Http2MultiplexCodecBuilder.build(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings) |
protected Http2FrameCodec |
Http2FrameCodecBuilder.build(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings) |
protected Http2ConnectionHandler |
Http2ConnectionHandlerBuilder.build(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings) |
protected abstract T |
AbstractHttp2ConnectionHandlerBuilder.build(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings)
实现此方法以创建新的 Http2ConnectionHandler 或其子类型实例。
|
Http2Settings |
Http2Settings.copyFrom(Http2Settings settings)
清除然后将给定的设置复制到此对象中。
|
HttpToHttp2ConnectionHandlerBuilder |
HttpToHttp2ConnectionHandlerBuilder.initialSettings(Http2Settings settings) |
Http2MultiplexCodecBuilder |
Http2MultiplexCodecBuilder.initialSettings(Http2Settings settings) |
Http2FrameCodecBuilder |
Http2FrameCodecBuilder.initialSettings(Http2Settings settings) |
Http2ConnectionHandlerBuilder |
Http2ConnectionHandlerBuilder.initialSettings(Http2Settings settings) |
protected B |
AbstractHttp2ConnectionHandlerBuilder.initialSettings(Http2Settings settings)
设置 Http2Settings 用于初始连接设置交换。
|
void |
Http2FrameLogger.logSettings(Http2FrameLogger.Direction direction, ChannelHandlerContext ctx, Http2Settings settings) |
void |
Http2ConnectionHandler.onHttpServerUpgrade(Http2Settings settings)
将服务器端(明文)从HTTP升级到HTTP / 2。
|
void |
InboundHttp2ToHttpAdapter.onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings) |
void |
Http2FrameListenerDecorator.onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings) |
void |
Http2FrameListener.onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings)
处理入站
SETTINGS 框架。
|
void |
Http2FrameAdapter.onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings) |
void |
Http2EventAdapter.onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings) |
void |
StreamBufferingEncoder.remoteSettings(Http2Settings settings) |
void |
Http2ConnectionEncoder.remoteSettings(Http2Settings settings)
设置HTTP / 2连接的远程端点的设置。
|
void |
DefaultHttp2ConnectionEncoder.remoteSettings(Http2Settings settings) |
void |
DecoratingHttp2ConnectionEncoder.remoteSettings(Http2Settings settings) |
ChannelFuture |
Http2OutboundFrameLogger.writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise)
将一个SETTINGS帧写入远程端点。
|
ChannelFuture |
DefaultHttp2FrameWriter.writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise) |
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise) |
ChannelFuture |
DecoratingHttp2FrameWriter.writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise) |
Constructor and Description |
---|
DefaultHttp2SettingsFrame(Http2Settings settings) |
Http2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings) |
HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings, boolean validateHeaders) |
Copyright © 2008–2018 The Netty Project. All rights reserved.