Home / Function/ checkContentState() — netty Function Reference

checkContentState() — netty Function Reference

Architecture documentation for the checkContentState() function in HttpObjectEncoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3131a977_675c_cce9_b6b8_d3e0f586099a["checkContentState()"]
  14c61705_9541_276a_37fa_eaab6f15ec5a["HttpObjectEncoder"]
  3131a977_675c_cce9_b6b8_d3e0f586099a -->|defined in| 14c61705_9541_276a_37fa_eaab6f15ec5a
  f4b7407a_0934_4718_fe2e_cb32b6bcf72d["encodeJustHttpMessage()"]
  f4b7407a_0934_4718_fe2e_cb32b6bcf72d -->|calls| 3131a977_675c_cce9_b6b8_d3e0f586099a
  a61eaa49_0095_25ca_894d_15f990231592["encodeHttpMessageNotLastContent()"]
  a61eaa49_0095_25ca_894d_15f990231592 -->|calls| 3131a977_675c_cce9_b6b8_d3e0f586099a
  dfbc1010_4c37_d8b8_04e1_8fae7a3f2b99["encodeHttpMessageLastContent()"]
  dfbc1010_4c37_d8b8_04e1_8fae7a3f2b99 -->|calls| 3131a977_675c_cce9_b6b8_d3e0f586099a
  style 3131a977_675c_cce9_b6b8_d3e0f586099a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java lines 93–95

    private static boolean checkContentState(int state) {
        return state == ST_CONTENT_CHUNK || state == ST_CONTENT_NON_CHUNK || state == ST_CONTENT_ALWAYS_EMPTY;
    }

Subdomains

Frequently Asked Questions

What does checkContentState() do?
checkContentState() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java.
Where is checkContentState() defined?
checkContentState() is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java at line 93.
What calls checkContentState()?
checkContentState() is called by 3 function(s): encodeHttpMessageLastContent, encodeHttpMessageNotLastContent, encodeJustHttpMessage.

Analyze Your Own Codebase

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

Try Supermodel Free