Http2Settings() — netty Function Reference
Architecture documentation for the Http2Settings() function in Http2ServerUpgradeCodec.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 70c7a352_20d5_15d1_e9e4_c35555e171e9["Http2Settings()"] c35ffca0_c07b_0afb_4806_c07fa100b346["Http2ServerUpgradeCodec"] 70c7a352_20d5_15d1_e9e4_c35555e171e9 -->|defined in| c35ffca0_c07b_0afb_4806_c07fa100b346 style 70c7a352_20d5_15d1_e9e4_c35555e171e9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ServerUpgradeCodec.java lines 166–181
private Http2Settings decodeSettingsHeader(ChannelHandlerContext ctx, CharSequence settingsHeader)
throws Http2Exception {
ByteBuf header = ByteBufUtil.encodeString(ctx.alloc(), CharBuffer.wrap(settingsHeader), CharsetUtil.UTF_8);
try {
// Decode the SETTINGS payload.
ByteBuf payload = Base64.decode(header, URL_SAFE);
// Create an HTTP/2 frame for the settings.
ByteBuf frame = createSettingsFrame(ctx, payload);
// Decode the SETTINGS frame and return the settings object.
return decodeSettings(ctx, frame);
} finally {
header.release();
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does Http2Settings() do?
Http2Settings() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ServerUpgradeCodec.java.
Where is Http2Settings() defined?
Http2Settings() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ServerUpgradeCodec.java at line 166.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free