initPipeline() — netty Function Reference
Architecture documentation for the initPipeline() function in HttpPipelinedRequestDecoderBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD fba8b8b6_2b65_35da_1aea_4671eafbee08["initPipeline()"] 32a7d68f_9a9a_90eb_4ba9_69c43a157613["HttpPipelinedRequestDecoderBenchmark"] fba8b8b6_2b65_35da_1aea_4671eafbee08 -->|defined in| 32a7d68f_9a9a_90eb_4ba9_69c43a157613 style fba8b8b6_2b65_35da_1aea_4671eafbee08 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/http/HttpPipelinedRequestDecoderBenchmark.java lines 70–79
@Setup
public void initPipeline() {
final ByteBufAllocator allocator = pooled? PooledByteBufAllocator.DEFAULT : UnpooledByteBufAllocator.DEFAULT;
pipelinedRequest = pipelined(allocator, CONTENT_MIXED_DELIMITERS, pipeline, direct);
channel = new EmbeddedChannel(
new HttpRequestDecoder(DEFAULT_MAX_INITIAL_LINE_LENGTH, DEFAULT_MAX_HEADER_SIZE, DEFAULT_MAX_CHUNK_SIZE,
validateHeaders, DEFAULT_INITIAL_BUFFER_SIZE));
// this is a trick to save doing it each time
pipelinedRequest.retain((Integer.MAX_VALUE / 2 - 1) - pipeline);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does initPipeline() do?
initPipeline() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/http/HttpPipelinedRequestDecoderBenchmark.java.
Where is initPipeline() defined?
initPipeline() is defined in microbench/src/main/java/io/netty/microbench/http/HttpPipelinedRequestDecoderBenchmark.java at line 70.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free