Home / Function/ resume() — netty Function Reference

resume() — netty Function Reference

Architecture documentation for the resume() function in Http3FrameCodec.java from the netty codebase.

Function java Buffer Allocators calls 5 called by 2

Entity Profile

Dependency Diagram

graph TD
  bc889d75_7258_5336_e80d_f4e24471b1ac["resume()"]
  2248914c_cfca_0e01_f610_307d55182207["ReadResumptionListener"]
  bc889d75_7258_5336_e80d_f4e24471b1ac -->|defined in| 2248914c_cfca_0e01_f610_307d55182207
  6c431423_5862_114e_ae38_4efbbb53a2ef["operationComplete()"]
  6c431423_5862_114e_ae38_4efbbb53a2ef -->|calls| bc889d75_7258_5336_e80d_f4e24471b1ac
  94361bfc_917a_a19d_075f_c428f5eb421e["run()"]
  94361bfc_917a_a19d_075f_c428f5eb421e -->|calls| bc889d75_7258_5336_e80d_f4e24471b1ac
  dd8418fa_a2ac_642f_3bcd_5b0e0bde92b3["unsetState()"]
  bc889d75_7258_5336_e80d_f4e24471b1ac -->|calls| dd8418fa_a2ac_642f_3bcd_5b0e0bde92b3
  552ee46c_e191_c31e_0760_893a4dc62d1b["channelRead()"]
  bc889d75_7258_5336_e80d_f4e24471b1ac -->|calls| 552ee46c_e191_c31e_0760_893a4dc62d1b
  d58a8d53_dc7f_23c0_786a_622145d546c1["hasState()"]
  bc889d75_7258_5336_e80d_f4e24471b1ac -->|calls| d58a8d53_dc7f_23c0_786a_622145d546c1
  4432f04f_81b6_0995_2792_9dc615b00b96["channelReadComplete()"]
  bc889d75_7258_5336_e80d_f4e24471b1ac -->|calls| 4432f04f_81b6_0995_2792_9dc615b00b96
  64ea42a6_b20a_5d0b_34af_f8329eacb4df["read()"]
  bc889d75_7258_5336_e80d_f4e24471b1ac -->|calls| 64ea42a6_b20a_5d0b_34af_f8329eacb4df
  style bc889d75_7258_5336_e80d_f4e24471b1ac fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java lines 710–725

        private void resume() {
            unsetState(STATE_SUSPENDED);
            try {
                codec.channelRead(ctx, Unpooled.EMPTY_BUFFER);
                if (hasState(STATE_READ_COMPLETE_PENDING)) {
                    unsetState(STATE_READ_COMPLETE_PENDING);
                    codec.channelReadComplete(ctx);
                }
                if (hasState(STATE_READ_PENDING)) {
                    unsetState(STATE_READ_PENDING);
                    codec.read(ctx);
                }
            } catch (Exception e) {
                ctx.fireExceptionCaught(e);
            }
        }

Domain

Subdomains

Frequently Asked Questions

What does resume() do?
resume() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java.
Where is resume() defined?
resume() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java at line 710.
What does resume() call?
resume() calls 5 function(s): channelRead, channelReadComplete, hasState, read, unsetState.
What calls resume()?
resume() is called by 2 function(s): operationComplete, run.

Analyze Your Own Codebase

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

Try Supermodel Free