Home / Function/ checkHttpDataSize() — netty Function Reference

checkHttpDataSize() — netty Function Reference

Architecture documentation for the checkHttpDataSize() function in DefaultHttpDataFactory.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1f8c5b60_fd4b_1b00_24ee_903580c91e42["checkHttpDataSize()"]
  98f78988_c19a_3e7e_7294_362a9946ed47["DefaultHttpDataFactory"]
  1f8c5b60_fd4b_1b00_24ee_903580c91e42 -->|defined in| 98f78988_c19a_3e7e_7294_362a9946ed47
  b562ffa7_5b17_90de_bb17_f1a0c9c004bd["Attribute()"]
  b562ffa7_5b17_90de_bb17_f1a0c9c004bd -->|calls| 1f8c5b60_fd4b_1b00_24ee_903580c91e42
  5c96fe15_7385_5768_d7a7_8b8b6d75eeea["FileUpload()"]
  5c96fe15_7385_5768_d7a7_8b8b6d75eeea -->|calls| 1f8c5b60_fd4b_1b00_24ee_903580c91e42
  style 1f8c5b60_fd4b_1b00_24ee_903580c91e42 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/multipart/DefaultHttpDataFactory.java lines 208–214

    private static void checkHttpDataSize(HttpData data) {
        try {
            data.checkSize(data.length());
        } catch (IOException ignored) {
            throw new IllegalArgumentException("Attribute bigger than maxSize allowed");
        }
    }

Subdomains

Frequently Asked Questions

What does checkHttpDataSize() do?
checkHttpDataSize() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/DefaultHttpDataFactory.java.
Where is checkHttpDataSize() defined?
checkHttpDataSize() is defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/DefaultHttpDataFactory.java at line 208.
What calls checkHttpDataSize()?
checkHttpDataSize() is called by 2 function(s): Attribute, FileUpload.

Analyze Your Own Codebase

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

Try Supermodel Free