Home / Function/ ByteBuf() — netty Function Reference

ByteBuf() — netty Function Reference

Architecture documentation for the ByteBuf() function in HttpRequestEncoderInsertBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a422f1ab_5356_fda9_202c_ed213f3d5ca3["ByteBuf()"]
  ff555f9c_1d77_6f5a_cb29_37e270340371["HttpRequestEncoderInsertBenchmark"]
  a422f1ab_5356_fda9_202c_ed213f3d5ca3 -->|defined in| ff555f9c_1d77_6f5a_cb29_37e270340371
  d8ec1bab_636b_f9db_0508_d4b0e388cd9e["encodeInitialLine()"]
  a422f1ab_5356_fda9_202c_ed213f3d5ca3 -->|calls| d8ec1bab_636b_f9db_0508_d4b0e388cd9e
  style a422f1ab_5356_fda9_202c_ed213f3d5ca3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/handler/codec/http/HttpRequestEncoderInsertBenchmark.java lines 112–122

    @Benchmark
    public ByteBuf oldEncoder() throws Exception {
        ByteBuf buffer = Unpooled.buffer(100);
        try {
            encoderOld.encodeInitialLine(buffer, new DefaultHttpRequest(HttpVersion.HTTP_1_1,
                    HttpMethod.GET, nextUri()));
            return buffer;
        } finally {
            buffer.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does ByteBuf() do?
ByteBuf() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http/HttpRequestEncoderInsertBenchmark.java.
Where is ByteBuf() defined?
ByteBuf() is defined in microbench/src/main/java/io/netty/handler/codec/http/HttpRequestEncoderInsertBenchmark.java at line 112.
What does ByteBuf() call?
ByteBuf() calls 1 function(s): encodeInitialLine.

Analyze Your Own Codebase

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

Try Supermodel Free