chooseServerChannelClass() — netty Function Reference
Architecture documentation for the chooseServerChannelClass() function in HttpNativeServer.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 96e01bcf_bb4e_5979_6c50_313f5fa240b5["chooseServerChannelClass()"] 3b94d628_ec03_4964_2e12_08b49e8b8b30["HttpNativeServer"] 96e01bcf_bb4e_5979_6c50_313f5fa240b5 -->|defined in| 3b94d628_ec03_4964_2e12_08b49e8b8b30 f6ad4c3c_5e38_b874_f209_c0cafcbf4077["testTransport()"] f6ad4c3c_5e38_b874_f209_c0cafcbf4077 -->|calls| 96e01bcf_bb4e_5979_6c50_313f5fa240b5 style 96e01bcf_bb4e_5979_6c50_313f5fa240b5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite-native-image/src/main/java/io/netty/testsuite/svm/HttpNativeServer.java lines 148–158
public static Class<? extends ServerSocketChannel> chooseServerChannelClass(TransportType ioType) {
if (ioType == TransportType.EPOLL) {
return EpollServerSocketChannel.class;
}
if (ioType == TransportType.IO_URING) {
return IoUringServerSocketChannel.class;
}
return NioServerSocketChannel.class;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does chooseServerChannelClass() do?
chooseServerChannelClass() is a function in the netty codebase, defined in testsuite-native-image/src/main/java/io/netty/testsuite/svm/HttpNativeServer.java.
Where is chooseServerChannelClass() defined?
chooseServerChannelClass() is defined in testsuite-native-image/src/main/java/io/netty/testsuite/svm/HttpNativeServer.java at line 148.
What calls chooseServerChannelClass()?
chooseServerChannelClass() is called by 1 function(s): testTransport.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free