Home / Function/ handleResponse() — netty Function Reference

handleResponse() — netty Function Reference

Architecture documentation for the handleResponse() function in Socks4ProxyHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c63f8d91_1302_3761_375a_82375b26d9a8["handleResponse()"]
  ca809e55_f724_dc71_a437_a2136b99321a["Socks4ProxyHandler"]
  c63f8d91_1302_3761_375a_82375b26d9a8 -->|defined in| ca809e55_f724_dc71_a437_a2136b99321a
  style c63f8d91_1302_3761_375a_82375b26d9a8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler-proxy/src/main/java/io/netty/handler/proxy/Socks4ProxyHandler.java lines 110–119

    @Override
    protected boolean handleResponse(ChannelHandlerContext ctx, Object response) throws Exception {
        final Socks4CommandResponse res = (Socks4CommandResponse) response;
        final Socks4CommandStatus status = res.status();
        if (status == Socks4CommandStatus.SUCCESS) {
            return true;
        }

        throw new ProxyConnectException(exceptionMessage("status: " + status));
    }

Domain

Subdomains

Frequently Asked Questions

What does handleResponse() do?
handleResponse() is a function in the netty codebase, defined in handler-proxy/src/main/java/io/netty/handler/proxy/Socks4ProxyHandler.java.
Where is handleResponse() defined?
handleResponse() is defined in handler-proxy/src/main/java/io/netty/handler/proxy/Socks4ProxyHandler.java at line 110.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free