configure() — netty Function Reference
Architecture documentation for the configure() function in Socks4ProxyServer.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0b27ab8c_fb72_e437_82ec_6fd6f7d91a06["configure()"] 243d5be0_3bd5_5155_e16b_6cdcbf7860fa["Socks4ProxyServer"] 0b27ab8c_fb72_e437_82ec_6fd6f7d91a06 -->|defined in| 243d5be0_3bd5_5155_e16b_6cdcbf7860fa style 0b27ab8c_fb72_e437_82ec_6fd6f7d91a06 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler-proxy/src/test/java/io/netty/handler/proxy/Socks4ProxyServer.java lines 49–67
@Override
protected void configure(SocketChannel ch) throws Exception {
ChannelPipeline p = ch.pipeline();
switch (testMode) {
case INTERMEDIARY:
p.addLast(new Socks4ServerDecoder());
p.addLast(Socks4ServerEncoder.INSTANCE);
p.addLast(new Socks4IntermediaryHandler());
break;
case TERMINAL:
p.addLast(new Socks4ServerDecoder());
p.addLast(Socks4ServerEncoder.INSTANCE);
p.addLast(new Socks4TerminalHandler());
break;
case UNRESPONSIVE:
p.addLast(UnresponsiveHandler.INSTANCE);
break;
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does configure() do?
configure() is a function in the netty codebase, defined in handler-proxy/src/test/java/io/netty/handler/proxy/Socks4ProxyServer.java.
Where is configure() defined?
configure() is defined in handler-proxy/src/test/java/io/netty/handler/proxy/Socks4ProxyServer.java at line 49.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free