Home / Function/ handleReadException() — netty Function Reference

handleReadException() — netty Function Reference

Architecture documentation for the handleReadException() function in QuicheQuicStreamChannel.java from the netty codebase.

Function java Buffer Allocators calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  af59efb8_dc8a_4d8b_ff8b_642fc3890db5["handleReadException()"]
  77188bb7_e7ad_de01_3b54_5bc50b9e2df1["QuicStreamChannelUnsafe"]
  af59efb8_dc8a_4d8b_ff8b_642fc3890db5 -->|defined in| 77188bb7_e7ad_de01_3b54_5bc50b9e2df1
  08842539_3127_e4fc_3930_f7214f42f664["recv()"]
  08842539_3127_e4fc_3930_f7214f42f664 -->|calls| af59efb8_dc8a_4d8b_ff8b_642fc3890db5
  f4e51d31_b8c1_2ecc_6e5f_9e10bd92b1b2["readComplete()"]
  af59efb8_dc8a_4d8b_ff8b_642fc3890db5 -->|calls| f4e51d31_b8c1_2ecc_6e5f_9e10bd92b1b2
  0ba407db_98b9_c902_b664_3b3bfa2bab6f["closeOnRead()"]
  af59efb8_dc8a_4d8b_ff8b_642fc3890db5 -->|calls| 0ba407db_98b9_c902_b664_3b3bfa2bab6f
  style af59efb8_dc8a_4d8b_ff8b_642fc3890db5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicStreamChannel.java lines 932–948

        private void handleReadException(ChannelPipeline pipeline, @Nullable ByteBuf byteBuf, Throwable cause,
                                         @SuppressWarnings("deprecation") RecvByteBufAllocator.Handle allocHandle,
                                         boolean readFrames) {
            if (byteBuf != null) {
                if (byteBuf.isReadable()) {
                    pipeline.fireChannelRead(byteBuf);
                } else {
                    byteBuf.release();
                }
            }

            readComplete(allocHandle, pipeline);
            pipeline.fireExceptionCaught(cause);
            if (finReceived) {
                closeOnRead(pipeline, readFrames);
            }
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does handleReadException() do?
handleReadException() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicStreamChannel.java.
Where is handleReadException() defined?
handleReadException() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicStreamChannel.java at line 932.
What does handleReadException() call?
handleReadException() calls 2 function(s): closeOnRead, readComplete.
What calls handleReadException()?
handleReadException() is called by 1 function(s): recv.

Analyze Your Own Codebase

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

Try Supermodel Free