Home / Function/ checkSize() — netty Function Reference

checkSize() — netty Function Reference

Architecture documentation for the checkSize() function in AbstractHttpData.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  8062c362_e377_8fd2_45fe_a11f1139d80c["checkSize()"]
  14418a44_5c0f_1bba_1821_88b876152db3["AbstractHttpData"]
  8062c362_e377_8fd2_45fe_a11f1139d80c -->|defined in| 14418a44_5c0f_1bba_1821_88b876152db3
  style 8062c362_e377_8fd2_45fe_a11f1139d80c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/multipart/AbstractHttpData.java lines 107–112

    @Override
    public void checkSize(long newSize) throws IOException {
        if (maxSize >= 0 && newSize > maxSize) {
            throw new IOException("Size exceed allowed maximum capacity");
        }
    }

Subdomains

Frequently Asked Questions

What does checkSize() do?
checkSize() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/AbstractHttpData.java.
Where is checkSize() defined?
checkSize() is defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/AbstractHttpData.java at line 107.

Analyze Your Own Codebase

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

Try Supermodel Free