Home / Function/ testHeaderBlockInvalidDictionary() — netty Function Reference

testHeaderBlockInvalidDictionary() — netty Function Reference

Architecture documentation for the testHeaderBlockInvalidDictionary() function in SpdyHeaderBlockZlibDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  627b402d_646a_90a2_c8db_8e74c425d355["testHeaderBlockInvalidDictionary()"]
  af170dea_1fdf_d9d0_0058_316c478ff6cc["SpdyHeaderBlockZlibDecoderTest"]
  627b402d_646a_90a2_c8db_8e74c425d355 -->|defined in| af170dea_1fdf_d9d0_0058_316c478ff6cc
  style 627b402d_646a_90a2_c8db_8e74c425d355 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyHeaderBlockZlibDecoderTest.java lines 205–224

    @Test
    public void testHeaderBlockInvalidDictionary() throws Exception {
        final ByteBuf headerBlock = Unpooled.buffer(7);
        headerBlock.writeByte(0x78);
        headerBlock.writeByte(0x3f);
        headerBlock.writeByte(0x01); // Unknown dictionary
        headerBlock.writeByte(0x02); // Unknown dictionary
        headerBlock.writeByte(0x03); // Unknown dictionary
        headerBlock.writeByte(0x04); // Unknown dictionary
        headerBlock.writeByte(0); // Non-compressed block

        assertThrows(SpdyProtocolException.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                decoder.decode(ByteBufAllocator.DEFAULT, headerBlock, frame);
            }
        });

        headerBlock.release();
    }

Domain

Subdomains

Frequently Asked Questions

What does testHeaderBlockInvalidDictionary() do?
testHeaderBlockInvalidDictionary() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyHeaderBlockZlibDecoderTest.java.
Where is testHeaderBlockInvalidDictionary() defined?
testHeaderBlockInvalidDictionary() is defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyHeaderBlockZlibDecoderTest.java at line 205.

Analyze Your Own Codebase

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

Try Supermodel Free