fail() — netty Function Reference
Architecture documentation for the fail() function in Socks4ClientDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5f51e102_8380_acc7_1864_73c607712375["fail()"] 5a68ac37_7c65_a197_e5fc_ea06651de05e["Socks4ClientDecoder"] 5f51e102_8380_acc7_1864_73c607712375 -->|defined in| 5a68ac37_7c65_a197_e5fc_ea06651de05e 231f97ec_4a82_58a7_d4d8_581c91154ac2["decode()"] 231f97ec_4a82_58a7_d4d8_581c91154ac2 -->|calls| 5f51e102_8380_acc7_1864_73c607712375 style 5f51e102_8380_acc7_1864_73c607712375 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-socks/src/main/java/io/netty/handler/codec/socksx/v4/Socks4ClientDecoder.java lines 84–94
private void fail(List<Object> out, Exception cause) {
if (!(cause instanceof DecoderException)) {
cause = new DecoderException(cause);
}
Socks4CommandResponse m = new DefaultSocks4CommandResponse(Socks4CommandStatus.REJECTED_OR_FAILED);
m.setDecoderResult(DecoderResult.failure(cause));
out.add(m);
checkpoint(State.FAILURE);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does fail() do?
fail() is a function in the netty codebase, defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v4/Socks4ClientDecoder.java.
Where is fail() defined?
fail() is defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v4/Socks4ClientDecoder.java at line 84.
What calls fail()?
fail() is called by 1 function(s): decode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free