ByteBuf() — netty Function Reference
Architecture documentation for the ByteBuf() function in HttpObjectDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 39c2c817_627b_3881_f9ba_0e89bdbe5fdd["ByteBuf()"] f6d5dc41_af35_bf8a_75da_1474a14923bc["LineParser"] 39c2c817_627b_3881_f9ba_0e89bdbe5fdd -->|defined in| f6d5dc41_af35_bf8a_75da_1474a14923bc d87a93a4_b50d_553a_ff04_98f1cc468821["skipControlChars()"] 39c2c817_627b_3881_f9ba_0e89bdbe5fdd -->|calls| d87a93a4_b50d_553a_ff04_98f1cc468821 d68ab61e_c734_b4aa_bff2_feee406a43d8["reset()"] 39c2c817_627b_3881_f9ba_0e89bdbe5fdd -->|calls| d68ab61e_c734_b4aa_bff2_feee406a43d8 style 39c2c817_627b_3881_f9ba_0e89bdbe5fdd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectDecoder.java lines 1234–1247
@Override
public ByteBuf parse(ByteBuf buffer, Runnable strictCRLFCheck) {
// Suppress a warning because HeaderParser.reset() is supposed to be called
reset();
final int readableBytes = buffer.readableBytes();
if (readableBytes == 0) {
return null;
}
if (currentState == State.SKIP_CONTROL_CHARS &&
skipControlChars(buffer, readableBytes, buffer.readerIndex())) {
return null;
}
return super.parse(buffer, strictCRLFCheck);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ByteBuf() do?
ByteBuf() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectDecoder.java.
Where is ByteBuf() defined?
ByteBuf() is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectDecoder.java at line 1234.
What does ByteBuf() call?
ByteBuf() calls 2 function(s): reset, skipControlChars.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free