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