read() — netty Function Reference
Architecture documentation for the read() function in SslHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 83a0158f_b432_6f94_08e9_4ba1d7ed442a["read()"] d8b07a7c_44f8_c4e9_efe8_49bfae7d4af1["SslHandler"] 83a0158f_b432_6f94_08e9_4ba1d7ed442a -->|defined in| d8b07a7c_44f8_c4e9_efe8_49bfae7d4af1 37fdca52_5a27_1da0_971b_e56a22cd3521["readIfNeeded()"] 37fdca52_5a27_1da0_971b_e56a22cd3521 -->|calls| 83a0158f_b432_6f94_08e9_4ba1d7ed442a 51b61e7d_0f6d_53c7_ed6a_56a55b2ed5a7["unwrap()"] 51b61e7d_0f6d_53c7_ed6a_56a55b2ed5a7 -->|calls| 83a0158f_b432_6f94_08e9_4ba1d7ed442a 412a41a8_6a03_f301_fa41_1d7e9d8ad668["setHandshakeSuccess()"] 412a41a8_6a03_f301_fa41_1d7e9d8ad668 -->|calls| 83a0158f_b432_6f94_08e9_4ba1d7ed442a f221057f_9b44_cc50_e4e5_62605fce7fe9["tryDecodeAgain()"] f221057f_9b44_cc50_e4e5_62605fce7fe9 -->|calls| 83a0158f_b432_6f94_08e9_4ba1d7ed442a 586d9480_c5dd_d8c2_fcc9_bd16fdeca640["setState()"] 83a0158f_b432_6f94_08e9_4ba1d7ed442a -->|calls| 586d9480_c5dd_d8c2_fcc9_bd16fdeca640 style 83a0158f_b432_6f94_08e9_4ba1d7ed442a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/SslHandler.java lines 777–784
@Override
public void read(ChannelHandlerContext ctx) throws Exception {
if (!handshakePromise.isDone()) {
setState(STATE_READ_DURING_HANDSHAKE);
}
ctx.read();
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does read() do?
read() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/SslHandler.java.
Where is read() defined?
read() is defined in handler/src/main/java/io/netty/handler/ssl/SslHandler.java at line 777.
What does read() call?
read() calls 1 function(s): setState.
What calls read()?
read() is called by 4 function(s): readIfNeeded, setHandshakeSuccess, tryDecodeAgain, unwrap.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free