match() — netty Function Reference
Architecture documentation for the match() function in HAProxyMessageDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5118ce8f_1171_e837_05e2_e7fad6a7ed1b["match()"] 779adff2_46a7_a104_ccd9_84680387d552["HAProxyMessageDecoder"] 5118ce8f_1171_e837_05e2_e7fad6a7ed1b -->|defined in| 779adff2_46a7_a104_ccd9_84680387d552 a6d80843_53e8_c46e_df6c_c1c99ea1a37a["findVersion()"] a6d80843_53e8_c46e_df6c_c1c99ea1a37a -->|calls| 5118ce8f_1171_e837_05e2_e7fad6a7ed1b 2aff155a_12eb_fa75_8a95_74911d7789e8["detectProtocol()"] 2aff155a_12eb_fa75_8a95_74911d7789e8 -->|calls| 5118ce8f_1171_e837_05e2_e7fad6a7ed1b style 5118ce8f_1171_e837_05e2_e7fad6a7ed1b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoder.java lines 339–347
private static boolean match(byte[] prefix, ByteBuf buffer, int idx) {
for (int i = 0; i < prefix.length; i++) {
final byte b = buffer.getByte(idx + i);
if (b != prefix[i]) {
return false;
}
}
return true;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does match() do?
match() is a function in the netty codebase, defined in codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoder.java.
Where is match() defined?
match() is defined in codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoder.java at line 339.
What calls match()?
match() is called by 2 function(s): detectProtocol, findVersion.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free