Home / Function/ getBuffers() — netty Function Reference

getBuffers() — netty Function Reference

Architecture documentation for the getBuffers() function in HttpRequestEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  60a37657_2ad1_472c_3803_efdf8d070e3a["getBuffers()"]
  fcb9abc3_d47c_ca31_1af5_a7b8b31112c3["HttpRequestEncoderTest"]
  60a37657_2ad1_472c_3803_efdf8d070e3a -->|defined in| fcb9abc3_d47c_ca31_1af5_a7b8b31112c3
  51347a3c_451c_d6de_75da_e394f4028379["testUriWithoutPath()"]
  51347a3c_451c_d6de_75da_e394f4028379 -->|calls| 60a37657_2ad1_472c_3803_efdf8d070e3a
  e1b586bb_2587_b921_512e_75d54ce3d5ac["testUriWithoutPath2()"]
  e1b586bb_2587_b921_512e_75d54ce3d5ac -->|calls| 60a37657_2ad1_472c_3803_efdf8d070e3a
  29752071_aa76_5ebb_6e9d_9e760ada9f56["testUriWithEmptyPath()"]
  29752071_aa76_5ebb_6e9d_9e760ada9f56 -->|calls| 60a37657_2ad1_472c_3803_efdf8d070e3a
  f9d5c8ce_f349_e49a_18bf_43742e2aee8c["testUriWithPath()"]
  f9d5c8ce_f349_e49a_18bf_43742e2aee8c -->|calls| 60a37657_2ad1_472c_3803_efdf8d070e3a
  258f22a2_b488_493a_8375_11c073073cc9["testAbsPath()"]
  258f22a2_b488_493a_8375_11c073073cc9 -->|calls| 60a37657_2ad1_472c_3803_efdf8d070e3a
  b6a06945_a7eb_2534_2f4a_2d6b6d3098cc["testEmptyAbsPath()"]
  b6a06945_a7eb_2534_2f4a_2d6b6d3098cc -->|calls| 60a37657_2ad1_472c_3803_efdf8d070e3a
  e36afe9b_5cd6_0964_e0bf_b9d84ccabac0["testQueryStringPath()"]
  e36afe9b_5cd6_0964_e0bf_b9d84ccabac0 -->|calls| 60a37657_2ad1_472c_3803_efdf8d070e3a
  style 60a37657_2ad1_472c_3803_efdf8d070e3a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestEncoderTest.java lines 42–50

    @SuppressWarnings("deprecation")
    private static ByteBuf[] getBuffers() {
        return new ByteBuf[]{
                Unpooled.buffer(128).order(ByteOrder.BIG_ENDIAN),
                Unpooled.buffer(128).order(ByteOrder.LITTLE_ENDIAN),
                Unpooled.wrappedBuffer(ByteBuffer.allocate(128).order(ByteOrder.BIG_ENDIAN)).resetWriterIndex(),
                Unpooled.wrappedBuffer(ByteBuffer.allocate(128).order(ByteOrder.LITTLE_ENDIAN)).resetWriterIndex()
        };
    }

Domain

Subdomains

Frequently Asked Questions

What does getBuffers() do?
getBuffers() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestEncoderTest.java.
Where is getBuffers() defined?
getBuffers() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestEncoderTest.java at line 42.
What calls getBuffers()?
getBuffers() is called by 7 function(s): testAbsPath, testEmptyAbsPath, testQueryStringPath, testUriWithEmptyPath, testUriWithPath, testUriWithoutPath, testUriWithoutPath2.

Analyze Your Own Codebase

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

Try Supermodel Free