Home / Function/ isSelfDefinedMessageLength() — netty Function Reference

isSelfDefinedMessageLength() — netty Function Reference

Architecture documentation for the isSelfDefinedMessageLength() function in HttpServerKeepAliveHandler.java from the netty codebase.

Function java ProtocolCodecs HTTP calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  f90d5a22_63aa_2c1b_2232_c23c91dfad4a["isSelfDefinedMessageLength()"]
  08219795_24b6_3fff_1446_c9792531660c["HttpServerKeepAliveHandler"]
  f90d5a22_63aa_2c1b_2232_c23c91dfad4a -->|defined in| 08219795_24b6_3fff_1446_c9792531660c
  db8fa580_b26b_c3cb_8f82_220d29371c8b["write()"]
  db8fa580_b26b_c3cb_8f82_220d29371c8b -->|calls| f90d5a22_63aa_2c1b_2232_c23c91dfad4a
  e02b7ffd_94d2_eb03_5dbd_61e0353f04f0["isMultipart()"]
  f90d5a22_63aa_2c1b_2232_c23c91dfad4a -->|calls| e02b7ffd_94d2_eb03_5dbd_61e0353f04f0
  c0e2636f_edd9_86b7_13b8_ef3bde47c463["isInformational()"]
  f90d5a22_63aa_2c1b_2232_c23c91dfad4a -->|calls| c0e2636f_edd9_86b7_13b8_ef3bde47c463
  style f90d5a22_63aa_2c1b_2232_c23c91dfad4a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/HttpServerKeepAliveHandler.java lines 114–117

    private static boolean isSelfDefinedMessageLength(HttpResponse response) {
        return isContentLengthSet(response) || isTransferEncodingChunked(response) || isMultipart(response) ||
               isInformational(response) || response.status().code() == HttpResponseStatus.NO_CONTENT.code();
    }

Subdomains

Called By

Frequently Asked Questions

What does isSelfDefinedMessageLength() do?
isSelfDefinedMessageLength() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpServerKeepAliveHandler.java.
Where is isSelfDefinedMessageLength() defined?
isSelfDefinedMessageLength() is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpServerKeepAliveHandler.java at line 114.
What does isSelfDefinedMessageLength() call?
isSelfDefinedMessageLength() calls 2 function(s): isInformational, isMultipart.
What calls isSelfDefinedMessageLength()?
isSelfDefinedMessageLength() is called by 1 function(s): write.

Analyze Your Own Codebase

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

Try Supermodel Free