settingChannelOptsAndAttrs() — netty Function Reference
Architecture documentation for the settingChannelOptsAndAttrs() function in Http2MultiplexTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b4188b77_e27e_18f3_6709_f55d2b389270["settingChannelOptsAndAttrs()"] 4745ff96_ed57_3bd8_9861_4b786d0b6e09["Http2MultiplexTest"] b4188b77_e27e_18f3_6709_f55d2b389270 -->|defined in| 4745ff96_ed57_3bd8_9861_4b786d0b6e09 style b4188b77_e27e_18f3_6709_f55d2b389270 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 1079–1089
@Test
public void settingChannelOptsAndAttrs() {
AttributeKey<String> key = AttributeKey.newInstance(UUID.randomUUID().toString());
Channel childChannel = newOutboundStream(new ChannelInboundHandlerAdapter());
childChannel.config().setAutoRead(false).setWriteSpinCount(1000);
childChannel.attr(key).set("bar");
assertFalse(childChannel.config().isAutoRead());
assertEquals(1000, childChannel.config().getWriteSpinCount());
assertEquals("bar", childChannel.attr(key).get());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does settingChannelOptsAndAttrs() do?
settingChannelOptsAndAttrs() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java.
Where is settingChannelOptsAndAttrs() defined?
settingChannelOptsAndAttrs() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java at line 1079.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free