fail() — netty Function Reference
Architecture documentation for the fail() function in Socks5InitialRequestDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 22fe9ae3_fe20_7231_af0c_834285a859b9["fail()"] c8dbff5d_17e9_7cbf_4232_15f060dc4a1a["Socks5InitialRequestDecoder"] 22fe9ae3_fe20_7231_af0c_834285a859b9 -->|defined in| c8dbff5d_17e9_7cbf_4232_15f060dc4a1a 98cb6c51_918c_ac5e_eeb6_81db52959586["decode()"] 98cb6c51_918c_ac5e_eeb6_81db52959586 -->|calls| 22fe9ae3_fe20_7231_af0c_834285a859b9 style 22fe9ae3_fe20_7231_af0c_834285a859b9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/Socks5InitialRequestDecoder.java lines 87–97
private void fail(List<Object> out, Exception cause) {
if (!(cause instanceof DecoderException)) {
cause = new DecoderException(cause);
}
checkpoint(State.FAILURE);
Socks5Message m = new DefaultSocks5InitialRequest(Socks5AuthMethod.NO_AUTH);
m.setDecoderResult(DecoderResult.failure(cause));
out.add(m);
}
Domain
Subdomains
Defined In
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/v5/Socks5InitialRequestDecoder.java.
Where is fail() defined?
fail() is defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/Socks5InitialRequestDecoder.java at line 87.
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