Home / Function/ tryDecodeAgain() — netty Function Reference

tryDecodeAgain() — netty Function Reference

Architecture documentation for the tryDecodeAgain() function in SslHandler.java from the netty codebase.

Function java Buffer Allocators calls 4 called by 1

Entity Profile

Dependency Diagram

graph TD
  f221057f_9b44_cc50_e4e5_62605fce7fe9["tryDecodeAgain()"]
  4971d882_98ff_3ffd_f66b_31ea649497b3["SslTasksRunner"]
  f221057f_9b44_cc50_e4e5_62605fce7fe9 -->|defined in| 4971d882_98ff_3ffd_f66b_31ea649497b3
  3767fed6_8ef0_e61c_ca65_bd1e0902b8bb["resumeOnEventExecutor()"]
  3767fed6_8ef0_e61c_ca65_bd1e0902b8bb -->|calls| f221057f_9b44_cc50_e4e5_62605fce7fe9
  6f2ad3ca_d892_92d8_e5db_c67eb1473ab2["safeExceptionCaught()"]
  f221057f_9b44_cc50_e4e5_62605fce7fe9 -->|calls| 6f2ad3ca_d892_92d8_e5db_c67eb1473ab2
  f101b6e2_abf9_2fb6_de49_40e8f8042ec9["channelReadComplete()"]
  f221057f_9b44_cc50_e4e5_62605fce7fe9 -->|calls| f101b6e2_abf9_2fb6_de49_40e8f8042ec9
  83a0158f_b432_6f94_08e9_4ba1d7ed442a["read()"]
  f221057f_9b44_cc50_e4e5_62605fce7fe9 -->|calls| 83a0158f_b432_6f94_08e9_4ba1d7ed442a
  377b07e2_f49b_043e_067e_6dc91938e4d9["channelReadComplete0()"]
  f221057f_9b44_cc50_e4e5_62605fce7fe9 -->|calls| 377b07e2_f49b_043e_067e_6dc91938e4d9
  style f221057f_9b44_cc50_e4e5_62605fce7fe9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/SslHandler.java lines 1821–1832

        private void tryDecodeAgain() {
            try {
                channelRead(ctx, Unpooled.EMPTY_BUFFER);
            } catch (Throwable cause) {
                safeExceptionCaught(cause);
            } finally {
                // As we called channelRead(...) we also need to call channelReadComplete(...) which
                // will ensure we either call ctx.fireChannelReadComplete() or will trigger a ctx.read() if
                // more data is needed.
                channelReadComplete0(ctx);
            }
        }

Domain

Subdomains

Frequently Asked Questions

What does tryDecodeAgain() do?
tryDecodeAgain() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/SslHandler.java.
Where is tryDecodeAgain() defined?
tryDecodeAgain() is defined in handler/src/main/java/io/netty/handler/ssl/SslHandler.java at line 1821.
What does tryDecodeAgain() call?
tryDecodeAgain() calls 4 function(s): channelReadComplete, channelReadComplete0, read, safeExceptionCaught.
What calls tryDecodeAgain()?
tryDecodeAgain() is called by 1 function(s): resumeOnEventExecutor.

Analyze Your Own Codebase

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

Try Supermodel Free