detected() — netty Function Reference
Architecture documentation for the detected() function in ProtocolDetectionResult.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD cc512cb2_f20f_211e_f3d5_61a7264700a8["detected()"] fd233bd4_5d4b_ee69_a4e0_37007d7f2639["ProtocolDetectionResult"] cc512cb2_f20f_211e_f3d5_61a7264700a8 -->|defined in| fd233bd4_5d4b_ee69_a4e0_37007d7f2639 style cc512cb2_f20f_211e_f3d5_61a7264700a8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-base/src/main/java/io/netty/handler/codec/ProtocolDetectionResult.java lines 56–59
@SuppressWarnings("unchecked")
public static <T> ProtocolDetectionResult<T> detected(T protocol) {
return new ProtocolDetectionResult<T>(ProtocolDetectionState.DETECTED, checkNotNull(protocol, "protocol"));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does detected() do?
detected() is a function in the netty codebase, defined in codec-base/src/main/java/io/netty/handler/codec/ProtocolDetectionResult.java.
Where is detected() defined?
detected() is defined in codec-base/src/main/java/io/netty/handler/codec/ProtocolDetectionResult.java at line 56.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free