Package | Description |
---|---|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Method and Description |
---|---|
Http2Settings |
Http2Settings.copyFrom(Http2Settings settings)
Clears and then copies the given settings into this object.
|
static Http2Settings |
Http2Settings.defaultSettings() |
Http2Settings |
Http2Settings.headerTableSize(long value)
Sets the
SETTINGS_HEADER_TABLE_SIZE value. |
Http2Settings |
Http2MultiplexCodecBuilder.initialSettings()
Deprecated.
|
Http2Settings |
Http2ConnectionHandlerBuilder.initialSettings() |
protected Http2Settings |
AbstractHttp2ConnectionHandlerBuilder.initialSettings()
Sets the
Http2Settings to use for the initial connection settings exchange. |
Http2Settings |
Http2FrameCodecBuilder.initialSettings() |
Http2Settings |
Http2Settings.initialWindowSize(int value)
Sets the
SETTINGS_INITIAL_WINDOW_SIZE value. |
Http2Settings |
Http2ConnectionDecoder.localSettings()
Gets the local settings for this endpoint of the HTTP/2 connection.
|
Http2Settings |
DecoratingHttp2ConnectionDecoder.localSettings() |
Http2Settings |
DefaultHttp2ConnectionDecoder.localSettings() |
Http2Settings |
Http2Settings.maxConcurrentStreams(long value)
Sets the
SETTINGS_MAX_CONCURRENT_STREAMS value. |
Http2Settings |
Http2Settings.maxFrameSize(int value)
Sets the
SETTINGS_MAX_FRAME_SIZE value. |
Http2Settings |
Http2Settings.maxHeaderListSize(long value)
Sets the
SETTINGS_MAX_HEADER_LIST_SIZE value. |
Http2Settings |
DefaultHttp2ConnectionEncoder.pollSentSettings() |
Http2Settings |
DecoratingHttp2ConnectionEncoder.pollSentSettings() |
Http2Settings |
Http2ConnectionEncoder.pollSentSettings()
Gets the local settings on the top of the queue that has been sent but not ACKed.
|
Http2Settings |
Http2Settings.pushEnabled(boolean enabled)
Sets the
SETTINGS_ENABLE_PUSH value. |
Http2Settings |
DefaultHttp2SettingsFrame.settings() |
Http2Settings |
Http2SettingsFrame.settings() |
Modifier and Type | Method and Description |
---|---|
protected Http2MultiplexCodec |
Http2MultiplexCodecBuilder.build(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings)
Deprecated.
|
protected Http2ConnectionHandler |
Http2ConnectionHandlerBuilder.build(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings) |
protected abstract T |
AbstractHttp2ConnectionHandlerBuilder.build(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings)
Implement this method to create a new
Http2ConnectionHandler or its subtype instance. |
protected HttpToHttp2ConnectionHandler |
HttpToHttp2ConnectionHandlerBuilder.build(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings) |
protected Http2FrameCodec |
Http2FrameCodecBuilder.build(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings) |
void |
DefaultHttp2ConnectionEncoder.consumeReceivedSettings(Http2Settings settings) |
void |
DecoratingHttp2ConnectionEncoder.consumeReceivedSettings(Http2Settings settings) |
void |
Http2SettingsReceivedConsumer.consumeReceivedSettings(Http2Settings settings)
Consume the most recently received but not yet ACKed settings.
|
Http2Settings |
Http2Settings.copyFrom(Http2Settings settings)
Clears and then copies the given settings into this object.
|
Http2MultiplexCodecBuilder |
Http2MultiplexCodecBuilder.initialSettings(Http2Settings settings)
Deprecated.
|
Http2ConnectionHandlerBuilder |
Http2ConnectionHandlerBuilder.initialSettings(Http2Settings settings) |
protected B |
AbstractHttp2ConnectionHandlerBuilder.initialSettings(Http2Settings settings)
Sets the
Http2Settings to use for the initial connection settings exchange. |
HttpToHttp2ConnectionHandlerBuilder |
HttpToHttp2ConnectionHandlerBuilder.initialSettings(Http2Settings settings) |
Http2FrameCodecBuilder |
Http2FrameCodecBuilder.initialSettings(Http2Settings settings) |
void |
Http2FrameLogger.logSettings(Http2FrameLogger.Direction direction,
ChannelHandlerContext ctx,
Http2Settings settings) |
void |
Http2ConnectionHandler.onHttpServerUpgrade(Http2Settings settings)
Handles the server-side (cleartext) upgrade from HTTP to HTTP/2.
|
void |
Http2FrameAdapter.onSettingsRead(ChannelHandlerContext ctx,
Http2Settings settings) |
void |
InboundHttp2ToHttpAdapter.onSettingsRead(ChannelHandlerContext ctx,
Http2Settings settings) |
void |
Http2FrameListenerDecorator.onSettingsRead(ChannelHandlerContext ctx,
Http2Settings settings) |
void |
Http2EventAdapter.onSettingsRead(ChannelHandlerContext ctx,
Http2Settings settings) |
void |
Http2FrameListener.onSettingsRead(ChannelHandlerContext ctx,
Http2Settings settings)
Handles an inbound
SETTINGS frame. |
void |
DefaultHttp2ConnectionEncoder.remoteSettings(Http2Settings settings) |
void |
DecoratingHttp2ConnectionEncoder.remoteSettings(Http2Settings settings) |
void |
StreamBufferingEncoder.remoteSettings(Http2Settings settings) |
void |
Http2ConnectionEncoder.remoteSettings(Http2Settings settings)
Sets the settings for the remote endpoint of the HTTP/2 connection.
|
ChannelFuture |
Http2FrameWriter.writeSettings(ChannelHandlerContext ctx,
Http2Settings settings,
ChannelPromise promise)
Writes a SETTINGS frame to the remote endpoint.
|
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeSettings(ChannelHandlerContext ctx,
Http2Settings settings,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2FrameWriter.writeSettings(ChannelHandlerContext ctx,
Http2Settings settings,
ChannelPromise promise) |
ChannelFuture |
DecoratingHttp2FrameWriter.writeSettings(ChannelHandlerContext ctx,
Http2Settings settings,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writeSettings(ChannelHandlerContext ctx,
Http2Settings settings,
ChannelPromise promise) |
Constructor and Description |
---|
DefaultHttp2SettingsFrame(Http2Settings settings) |
Http2ConnectionHandler(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings) |
Http2ConnectionHandler(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings,
boolean decoupleCloseAndGoAway) |
Http2ConnectionHandler(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings,
boolean decoupleCloseAndGoAway,
boolean flushPreface) |
HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings,
boolean validateHeaders) |
HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings,
boolean validateHeaders,
boolean decoupleCloseAndGoAway) |
HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings,
boolean validateHeaders,
boolean decoupleCloseAndGoAway,
boolean flushPreface,
HttpScheme httpScheme) |
HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings,
boolean validateHeaders,
boolean decoupleCloseAndGoAway,
HttpScheme httpScheme) |
Copyright © 2008–2024 The Netty Project. All rights reserved.