setChannelOption() — netty Function Reference
Architecture documentation for the setChannelOption() function in Http2StreamChannelBootstrap.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b5b31856_ff44_86af_c7eb_7a34be4e312c["setChannelOption()"] 5a534d0f_a13f_a12d_bbed_309a0c8a2c40["Http2StreamChannelBootstrap"] b5b31856_ff44_86af_c7eb_7a34be4e312c -->|defined in| 5a534d0f_a13f_a12d_bbed_309a0c8a2c40 28eece98_007f_0096_486d_56423cd5640c["setChannelOptions()"] 28eece98_007f_0096_486d_56423cd5640c -->|calls| b5b31856_ff44_86af_c7eb_7a34be4e312c style b5b31856_ff44_86af_c7eb_7a34be4e312c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2StreamChannelBootstrap.java lines 227–238
private static void setChannelOption(
Channel channel, ChannelOption<?> option, Object value) {
try {
@SuppressWarnings("unchecked")
ChannelOption<Object> opt = (ChannelOption<Object>) option;
if (!channel.config().setOption(opt, value)) {
logger.warn("{} Unknown channel option '{}'", channel, option);
}
} catch (Throwable t) {
logger.warn("{} Failed to set channel option '{}' with value '{}'", channel, option, value, t);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does setChannelOption() do?
setChannelOption() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2StreamChannelBootstrap.java.
Where is setChannelOption() defined?
setChannelOption() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2StreamChannelBootstrap.java at line 227.
What calls setChannelOption()?
setChannelOption() is called by 1 function(s): setChannelOptions.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free