configure() — netty Function Reference
Architecture documentation for the configure() function in Socks5ProxyServer.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 357dc209_699d_29da_568a_14b35df3ca19["configure()"] 4ce3d27a_ac4f_d75e_9e95_827c8f6a2894["Socks5ProxyServer"] 357dc209_699d_29da_568a_14b35df3ca19 -->|defined in| 4ce3d27a_ac4f_d75e_9e95_827c8f6a2894 style 357dc209_699d_29da_568a_14b35df3ca19 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler-proxy/src/test/java/io/netty/handler/proxy/Socks5ProxyServer.java lines 77–95
@Override
protected void configure(SocketChannel ch) throws Exception {
ChannelPipeline p = ch.pipeline();
switch (testMode) {
case INTERMEDIARY:
p.addLast(DECODER, new Socks5InitialRequestDecoder());
p.addLast(ENCODER, Socks5ServerEncoder.DEFAULT);
p.addLast(new Socks5IntermediaryHandler());
break;
case TERMINAL:
p.addLast(DECODER, new Socks5InitialRequestDecoder());
p.addLast(ENCODER, Socks5ServerEncoder.DEFAULT);
p.addLast(new Socks5TerminalHandler());
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/Socks5ProxyServer.java.
Where is configure() defined?
configure() is defined in handler-proxy/src/test/java/io/netty/handler/proxy/Socks5ProxyServer.java at line 77.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free