setAttributes() — netty Function Reference
Architecture documentation for the setAttributes() function in Http2StreamChannelBootstrap.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 43de7c05_2a84_498a_bd6c_b18dc8218d27["setAttributes()"] 5a534d0f_a13f_a12d_bbed_309a0c8a2c40["Http2StreamChannelBootstrap"] 43de7c05_2a84_498a_bd6c_b18dc8218d27 -->|defined in| 5a534d0f_a13f_a12d_bbed_309a0c8a2c40 8d65137a_a1a3_5280_72d5_6353ad731305["init()"] 8d65137a_a1a3_5280_72d5_6353ad731305 -->|calls| 43de7c05_2a84_498a_bd6c_b18dc8218d27 style 43de7c05_2a84_498a_bd6c_b18dc8218d27 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2StreamChannelBootstrap.java lines 240–247
private static void setAttributes(
Channel channel, Map.Entry<AttributeKey<?>, Object>[] options) {
for (Map.Entry<AttributeKey<?>, Object> e: options) {
@SuppressWarnings("unchecked")
AttributeKey<Object> key = (AttributeKey<Object>) e.getKey();
channel.attr(key).set(e.getValue());
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does setAttributes() do?
setAttributes() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2StreamChannelBootstrap.java.
Where is setAttributes() defined?
setAttributes() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2StreamChannelBootstrap.java at line 240.
What calls setAttributes()?
setAttributes() is called by 1 function(s): init.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free