isHost() — netty Function Reference
Architecture documentation for the isHost() function in HttpRequestDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d9eb0b50_a2c4_bd1e_41bd_38ce052f94cf["isHost()"] 4589186b_4bcc_122c_2013_a0e40fd58a92["HttpRequestDecoder"] d9eb0b50_a2c4_bd1e_41bd_38ce052f94cf -->|defined in| 4589186b_4bcc_122c_2013_a0e40fd58a92 74fbc3b2_d53f_c201_3682_db8c061ddf60["AsciiString()"] 74fbc3b2_d53f_c201_3682_db8c061ddf60 -->|calls| d9eb0b50_a2c4_bd1e_41bd_38ce052f94cf style d9eb0b50_a2c4_bd1e_41bd_38ce052f94cf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/HttpRequestDecoder.java lines 264–270
private static boolean isHost(byte[] sb, int start) {
final int maybeHost = sb[start] |
sb[start + 1] << 8 |
sb[start + 2] << 16 |
sb[start + 3] << 24;
return maybeHost == HOST_AS_INT;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does isHost() do?
isHost() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpRequestDecoder.java.
Where is isHost() defined?
isHost() is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpRequestDecoder.java at line 264.
What calls isHost()?
isHost() is called by 1 function(s): AsciiString.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free