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 |
Http2CodecBuilder.initialSettings()
Returns the initial settings to send to peer.
|
protected Http2Settings |
AbstractHttp2ConnectionHandlerBuilder.initialSettings()
Sets the
Http2Settings to use for the initial connection settings exchange. |
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 |
DefaultHttp2ConnectionDecoder.localSettings() |
Http2Settings |
DecoratingHttp2ConnectionDecoder.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 |
Http2ConnectionEncoder.pollSentSettings()
Gets the local settings on the top of the queue that has been sent but not ACKed.
|
Http2Settings |
DefaultHttp2ConnectionEncoder.pollSentSettings() |
Http2Settings |
DecoratingHttp2ConnectionEncoder.pollSentSettings() |
Http2Settings |
Http2Settings.pushEnabled(boolean enabled)
Sets the
SETTINGS_ENABLE_PUSH value. |
Modifier and Type | Method and Description |
---|---|
protected HttpToHttp2ConnectionHandler |
HttpToHttp2ConnectionHandlerBuilder.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)
Implement this method to create a new
Http2ConnectionHandler or its subtype instance. |
Http2Settings |
Http2Settings.copyFrom(Http2Settings settings)
Clears and then copies the given settings into this object.
|
HttpToHttp2ConnectionHandlerBuilder |
HttpToHttp2ConnectionHandlerBuilder.initialSettings(Http2Settings settings) |
Http2ConnectionHandlerBuilder |
Http2ConnectionHandlerBuilder.initialSettings(Http2Settings settings) |
Http2CodecBuilder |
Http2CodecBuilder.initialSettings(Http2Settings initialSettings)
Specifies the initial settings to send to peer.
|
protected B |
AbstractHttp2ConnectionHandlerBuilder.initialSettings(Http2Settings settings)
Sets the
Http2Settings to use for the initial connection settings exchange. |
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 |
InboundHttp2ToHttpAdapter.onSettingsRead(ChannelHandlerContext ctx,
Http2Settings settings) |
void |
Http2FrameListenerDecorator.onSettingsRead(ChannelHandlerContext ctx,
Http2Settings settings) |
void |
Http2FrameListener.onSettingsRead(ChannelHandlerContext ctx,
Http2Settings settings)
Handles an inbound
SETTINGS frame. |
void |
Http2FrameAdapter.onSettingsRead(ChannelHandlerContext ctx,
Http2Settings settings) |
void |
Http2EventAdapter.onSettingsRead(ChannelHandlerContext ctx,
Http2Settings settings) |
void |
StreamBufferingEncoder.remoteSettings(Http2Settings settings) |
void |
Http2ConnectionEncoder.remoteSettings(Http2Settings settings)
Sets the settings for the remote endpoint of the HTTP/2 connection.
|
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)
Writes a SETTINGS frame to the remote endpoint.
|
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 |
---|
Http2ConnectionHandler(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings) |
HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings,
boolean validateHeaders) |
Copyright © 2008–2017 The Netty Project. All rights reserved.