remoteSettings() — netty Function Reference
Architecture documentation for the remoteSettings() function in DefaultHttp2ConnectionEncoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3b9fd337_1dee_1fd1_8836_e44e24fe69ae["remoteSettings()"] 895939a0_f585_4538_b1ac_90be365f6464["DefaultHttp2ConnectionEncoder"] 3b9fd337_1dee_1fd1_8836_e44e24fe69ae -->|defined in| 895939a0_f585_4538_b1ac_90be365f6464 f7c83e25_f1bc_4ff3_1eaa_ebd5521fad31["ChannelFuture()"] f7c83e25_f1bc_4ff3_1eaa_ebd5521fad31 -->|calls| 3b9fd337_1dee_1fd1_8836_e44e24fe69ae style 3b9fd337_1dee_1fd1_8836_e44e24fe69ae fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoder.java lines 78–116
@Override
public void remoteSettings(Http2Settings settings) throws Http2Exception {
Boolean pushEnabled = settings.pushEnabled();
Http2FrameWriter.Configuration config = configuration();
Http2HeadersEncoder.Configuration outboundHeaderConfig = config.headersConfiguration();
Http2FrameSizePolicy outboundFrameSizePolicy = config.frameSizePolicy();
if (pushEnabled != null) {
if (!connection.isServer() && pushEnabled) {
throw connectionError(PROTOCOL_ERROR,
"Client received a value of ENABLE_PUSH specified to other than 0");
}
connection.remote().allowPushTo(pushEnabled);
}
Long maxConcurrentStreams = settings.maxConcurrentStreams();
if (maxConcurrentStreams != null) {
connection.local().maxActiveStreams((int) min(maxConcurrentStreams, MAX_VALUE));
}
Long headerTableSize = settings.headerTableSize();
if (headerTableSize != null) {
outboundHeaderConfig.maxHeaderTableSize(headerTableSize);
}
Long maxHeaderListSize = settings.maxHeaderListSize();
if (maxHeaderListSize != null) {
outboundHeaderConfig.maxHeaderListSize(maxHeaderListSize);
}
Integer maxFrameSize = settings.maxFrameSize();
if (maxFrameSize != null) {
outboundFrameSizePolicy.maxFrameSize(maxFrameSize);
}
Integer initialWindowSize = settings.initialWindowSize();
if (initialWindowSize != null) {
flowController().initialWindowSize(initialWindowSize);
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does remoteSettings() do?
remoteSettings() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoder.java.
Where is remoteSettings() defined?
remoteSettings() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoder.java at line 78.
What calls remoteSettings()?
remoteSettings() is called by 1 function(s): ChannelFuture.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free