Home / Function/ headerUnexpected() — netty Function Reference

headerUnexpected() — netty Function Reference

Architecture documentation for the headerUnexpected() function in Http3RequestStreamValidationUtils.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  09a5f632_93f7_38e3_c250_92f4df323485["headerUnexpected()"]
  61b512bc_7ad6_0004_be8c_64e50c687fe4["Http3RequestStreamValidationUtils"]
  09a5f632_93f7_38e3_c250_92f4df323485 -->|defined in| 61b512bc_7ad6_0004_be8c_64e50c687fe4
  3eaadb49_498a_56f2_789a_a3ac7484e3ba["validateHeaderFrameRead()"]
  3eaadb49_498a_56f2_789a_a3ac7484e3ba -->|calls| 09a5f632_93f7_38e3_c250_92f4df323485
  2edc3c59_0b96_9724_4e2d_264ee679fda7["failStream()"]
  09a5f632_93f7_38e3_c250_92f4df323485 -->|calls| 2edc3c59_0b96_9724_4e2d_264ee679fda7
  style 09a5f632_93f7_38e3_c250_92f4df323485 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3RequestStreamValidationUtils.java lines 134–139

    private static void headerUnexpected(ChannelHandlerContext ctx, Http3RequestStreamFrame frame, String msg) {
        // We should close the stream.
        // See https://quicwg.org/base-drafts/draft-ietf-quic-http.html#section-4.1.1
        ReferenceCountUtil.release(frame);
        failStream(ctx, new Http3Exception(H3_MESSAGE_ERROR, msg));
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does headerUnexpected() do?
headerUnexpected() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3RequestStreamValidationUtils.java.
Where is headerUnexpected() defined?
headerUnexpected() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3RequestStreamValidationUtils.java at line 134.
What does headerUnexpected() call?
headerUnexpected() calls 1 function(s): failStream.
What calls headerUnexpected()?
headerUnexpected() is called by 1 function(s): validateHeaderFrameRead.

Analyze Your Own Codebase

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

Try Supermodel Free