Home / Function/ verifyPingFrame() — netty Function Reference

verifyPingFrame() — netty Function Reference

Architecture documentation for the verifyPingFrame() function in DefaultHttp2FrameReader.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  93cd8774_45b7_f93d_95c5_27e35c8b1e29["verifyPingFrame()"]
  3768d640_58c2_34e7_3d69_a4b578e0d11a["DefaultHttp2FrameReader"]
  93cd8774_45b7_f93d_95c5_27e35c8b1e29 -->|defined in| 3768d640_58c2_34e7_3d69_a4b578e0d11a
  80aaad85_d41e_97a8_6671_ac352891e88f["verifyFrameState()"]
  80aaad85_d41e_97a8_6671_ac352891e88f -->|calls| 93cd8774_45b7_f93d_95c5_27e35c8b1e29
  069bb3c4_e0d2_3ec9_e70b_ad5573d3a4ad["verifyNotProcessingHeaders()"]
  93cd8774_45b7_f93d_95c5_27e35c8b1e29 -->|calls| 069bb3c4_e0d2_3ec9_e70b_ad5573d3a4ad
  style 93cd8774_45b7_f93d_95c5_27e35c8b1e29 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameReader.java lines 350–359

    private void verifyPingFrame() throws Http2Exception {
        verifyNotProcessingHeaders();
        if (streamId != 0) {
            throw connectionError(PROTOCOL_ERROR, "A stream ID must be zero.");
        }
        if (payloadLength != PING_FRAME_PAYLOAD_LENGTH) {
            throw connectionError(FRAME_SIZE_ERROR,
                    "Frame length %d incorrect size for ping.", payloadLength);
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does verifyPingFrame() do?
verifyPingFrame() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameReader.java.
Where is verifyPingFrame() defined?
verifyPingFrame() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameReader.java at line 350.
What does verifyPingFrame() call?
verifyPingFrame() calls 1 function(s): verifyNotProcessingHeaders.
What calls verifyPingFrame()?
verifyPingFrame() is called by 1 function(s): verifyFrameState.

Analyze Your Own Codebase

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

Try Supermodel Free