verifyContentLength() — netty Function Reference
Architecture documentation for the verifyContentLength() function in DefaultHttp2ConnectionDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 472f71a8_ad4a_5ddf_ef48_0ce742954e37["verifyContentLength()"] b3fe26c0_8414_9998_6798_f8346e67f5e1["DefaultHttp2ConnectionDecoder"] 472f71a8_ad4a_5ddf_ef48_0ce742954e37 -->|defined in| b3fe26c0_8414_9998_6798_f8346e67f5e1 8d250926_1eab_67b5_7ae5_94ae1e073f54["onDataRead()"] 8d250926_1eab_67b5_7ae5_94ae1e073f54 -->|calls| 472f71a8_ad4a_5ddf_ef48_0ce742954e37 a7f0343e_581c_7e4a_796e_4e4c426bb22e["onHeadersRead()"] a7f0343e_581c_7e4a_796e_4e4c426bb22e -->|calls| 472f71a8_ad4a_5ddf_ef48_0ce742954e37 58013060_d6e1_1a48_4dbc_eb77bb9f66cf["increaseReceivedBytes()"] 472f71a8_ad4a_5ddf_ef48_0ce742954e37 -->|calls| 58013060_d6e1_1a48_4dbc_eb77bb9f66cf style 472f71a8_ad4a_5ddf_ef48_0ce742954e37 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java lines 234–245
private void verifyContentLength(Http2Stream stream, int data, boolean isEnd) throws Http2Exception {
ContentLength contentLength = stream.getProperty(contentLengthKey);
if (contentLength != null) {
try {
contentLength.increaseReceivedBytes(connection.isServer(), stream.id(), data, isEnd);
} finally {
if (isEnd) {
stream.removeProperty(contentLengthKey);
}
}
}
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does verifyContentLength() do?
verifyContentLength() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java.
Where is verifyContentLength() defined?
verifyContentLength() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java at line 234.
What does verifyContentLength() call?
verifyContentLength() calls 1 function(s): increaseReceivedBytes.
What calls verifyContentLength()?
verifyContentLength() is called by 2 function(s): onDataRead, onHeadersRead.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free