matches() — netty Function Reference
Architecture documentation for the matches() function in IpSubnetFilterRule.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 46a14e55_9861_790d_f9fd_791b6716de9a["matches()"] dff893ee_a16f_1b3d_a2b1_b004425749de["Ip4SubnetFilterRule"] 46a14e55_9861_790d_f9fd_791b6716de9a -->|defined in| dff893ee_a16f_1b3d_a2b1_b004425749de ec366950_3e90_b539_9c00_ab6de6f6b6e4["matches()"] ec366950_3e90_b539_9c00_ab6de6f6b6e4 -->|calls| 46a14e55_9861_790d_f9fd_791b6716de9a ec366950_3e90_b539_9c00_ab6de6f6b6e4["matches()"] 46a14e55_9861_790d_f9fd_791b6716de9a -->|calls| ec366950_3e90_b539_9c00_ab6de6f6b6e4 style 46a14e55_9861_790d_f9fd_791b6716de9a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ipfilter/IpSubnetFilterRule.java lines 180–188
@Override
public boolean matches(InetSocketAddress remoteAddress) {
final InetAddress inetAddress = remoteAddress.getAddress();
if (inetAddress instanceof Inet4Address) {
int ipAddress = NetUtil.ipv4AddressToInt((Inet4Address) inetAddress);
return (ipAddress & subnetMask) == networkAddress;
}
return false;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does matches() do?
matches() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ipfilter/IpSubnetFilterRule.java.
Where is matches() defined?
matches() is defined in handler/src/main/java/io/netty/handler/ipfilter/IpSubnetFilterRule.java at line 180.
What does matches() call?
matches() calls 1 function(s): matches.
What calls matches()?
matches() is called by 1 function(s): matches.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free