Home / Function/ decode() — netty Function Reference

decode() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  47ac4151_0b50_9884_0d18_472d1c51065d["decode()"]
  499468ca_3853_024b_2b80_17090ef6cd43["HpackDecoderTest"]
  47ac4151_0b50_9884_0d18_472d1c51065d -->|defined in| 499468ca_3853_024b_2b80_17090ef6cd43
  b459b2a7_e481_0f75_8cab_8f7b3a4be028["testSetTableSizeWithMaxUnsigned32BitValueSucceeds()"]
  b459b2a7_e481_0f75_8cab_8f7b3a4be028 -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  28509047_a533_872a_5b1f_ff08cbee9557["testSetTableSizeOverLimitFails()"]
  28509047_a533_872a_5b1f_ff08cbee9557 -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  4140e10a_a306_c7d9_5121_b4c68dc40536["testLiteralHuffmanEncodedWithEmptyNameAndValue()"]
  4140e10a_a306_c7d9_5121_b4c68dc40536 -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  51319af5_f932_6124_b7f1_a0aba3c1b4c3["testLiteralHuffmanEncodedWithPaddingGreaterThan7Throws()"]
  51319af5_f932_6124_b7f1_a0aba3c1b4c3 -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  7bbb7356_0f9b_c39f_9a07_4eb9cf3d430d["testLiteralHuffmanEncodedWithDecodingEOSThrows()"]
  7bbb7356_0f9b_c39f_9a07_4eb9cf3d430d -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  0bf507ca_8a93_1979_b617_bf97ead6497d["testLiteralHuffmanEncodedWithPaddingNotCorrespondingToMSBThrows()"]
  0bf507ca_8a93_1979_b617_bf97ead6497d -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  addd6b19_a62d_5b9d_5fc0_48f460db002f["testIncompleteIndex()"]
  addd6b19_a62d_5b9d_5fc0_48f460db002f -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  b6cf14ad_b8d1_7693_cd38_a12f1befc527["testUnusedIndex()"]
  b6cf14ad_b8d1_7693_cd38_a12f1befc527 -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  68d07160_1077_fd99_ebc5_c85ffb98fd13["testIllegalIndex()"]
  68d07160_1077_fd99_ebc5_c85ffb98fd13 -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  53077381_871a_6a48_4a68_29ba152bafad["testInsidiousIndex()"]
  53077381_871a_6a48_4a68_29ba152bafad -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  87132f86_1b95_2599_b055_13b4f39bd760["testDynamicTableSizeUpdate()"]
  87132f86_1b95_2599_b055_13b4f39bd760 -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  3f28b179_7900_4a19_58a4_d0f88ec9effd["testDynamicTableSizeUpdateRequired()"]
  3f28b179_7900_4a19_58a4_d0f88ec9effd -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  085b2025_fd03_eaaf_e2e0_47c5ae3a425f["testIllegalDynamicTableSizeUpdate()"]
  085b2025_fd03_eaaf_e2e0_47c5ae3a425f -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  style 47ac4151_0b50_9884_0d18_472d1c51065d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java lines 74–82

    private void decode(String encoded) throws Http2Exception {
        byte[] b = StringUtil.decodeHexDump(encoded);
        ByteBuf in = Unpooled.wrappedBuffer(b);
        try {
            hpackDecoder.decode(0, in, mockHeaders, true);
        } finally {
            in.release();
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does decode() do?
decode() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java.
Where is decode() defined?
decode() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java at line 74.
What calls decode()?
decode() is called by 41 function(s): disableHeaderValidation, failedValidationDoesntCorruptHpack, pseudoHeaderAfterRegularHeader, receivedConnectionHeader, requestPseudoHeaderInResponse, responsePseudoHeaderInRequest, testAccountForHeaderOverhead, testDecodeCountsNamesOnlyOnce, and 33 more.

Analyze Your Own Codebase

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

Try Supermodel Free