Object() — netty Function Reference
Architecture documentation for the Object() function in Socks4ProxyHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f391bafb_a867_e9ff_cb06_e190f967345a["Object()"] ca809e55_f724_dc71_a437_a2136b99321a["Socks4ProxyHandler"] f391bafb_a867_e9ff_cb06_e190f967345a -->|defined in| ca809e55_f724_dc71_a437_a2136b99321a style f391bafb_a867_e9ff_cb06_e190f967345a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler-proxy/src/main/java/io/netty/handler/proxy/Socks4ProxyHandler.java lines 97–108
@Override
protected Object newInitialMessage(ChannelHandlerContext ctx) throws Exception {
InetSocketAddress raddr = destinationAddress();
String rhost;
if (raddr.isUnresolved()) {
rhost = raddr.getHostString();
} else {
rhost = raddr.getAddress().getHostAddress();
}
return new DefaultSocks4CommandRequest(
Socks4CommandType.CONNECT, rhost, raddr.getPort(), username != null? username : "");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does Object() do?
Object() is a function in the netty codebase, defined in handler-proxy/src/main/java/io/netty/handler/proxy/Socks4ProxyHandler.java.
Where is Object() defined?
Object() is defined in handler-proxy/src/main/java/io/netty/handler/proxy/Socks4ProxyHandler.java at line 97.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free