Home / Function/ responsePseudoHeaderInRequest() — netty Function Reference

responsePseudoHeaderInRequest() — netty Function Reference

Architecture documentation for the responsePseudoHeaderInRequest() function in HpackDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  80a46744_3918_e0a4_6aa8_9fcc28f0191c["responsePseudoHeaderInRequest()"]
  499468ca_3853_024b_2b80_17090ef6cd43["HpackDecoderTest"]
  80a46744_3918_e0a4_6aa8_9fcc28f0191c -->|defined in| 499468ca_3853_024b_2b80_17090ef6cd43
  47ac4151_0b50_9884_0d18_472d1c51065d["decode()"]
  80a46744_3918_e0a4_6aa8_9fcc28f0191c -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  style 80a46744_3918_e0a4_6aa8_9fcc28f0191c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java lines 750–772

    @Test
    public void responsePseudoHeaderInRequest() throws Exception {
        final ByteBuf in = Unpooled.buffer(200);
        try {
            HpackEncoder hpackEncoder = new HpackEncoder(true);

            Http2Headers toEncode = new DefaultHttp2Headers();
            toEncode.add(":method", "GET");
            toEncode.add(":status", "200");
            hpackEncoder.encodeHeaders(1, in, toEncode, NEVER_SENSITIVE);

            final Http2Headers decoded = new DefaultHttp2Headers();

            assertThrows(Http2Exception.StreamException.class, new Executable() {
                @Override
                public void execute() throws Throwable {
                    hpackDecoder.decode(1, in, decoded, true);
                }
            });
        } finally {
            in.release();
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does responsePseudoHeaderInRequest() do?
responsePseudoHeaderInRequest() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java.
Where is responsePseudoHeaderInRequest() defined?
responsePseudoHeaderInRequest() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java at line 750.
What does responsePseudoHeaderInRequest() call?
responsePseudoHeaderInRequest() calls 1 function(s): decode.

Analyze Your Own Codebase

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

Try Supermodel Free