Home / Function/ hasFormBody() — netty Function Reference

hasFormBody() — netty Function Reference

Architecture documentation for the hasFormBody() function in HttpPostStandardRequestDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7c4df041_0e76_bfc9_68ff_2f1fff09f22b["hasFormBody()"]
  9a5a01b4_1d50_03ee_e135_2164d7bf32cb["HttpPostStandardRequestDecoder"]
  7c4df041_0e76_bfc9_68ff_2f1fff09f22b -->|defined in| 9a5a01b4_1d50_03ee_e135_2164d7bf32cb
  47cf8780_9b26_3d2c_c197_23d4789457b4["parseBodyAttributesStandard()"]
  47cf8780_9b26_3d2c_c197_23d4789457b4 -->|calls| 7c4df041_0e76_bfc9_68ff_2f1fff09f22b
  style 7c4df041_0e76_bfc9_68ff_2f1fff09f22b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostStandardRequestDecoder.java lines 667–674

    private boolean hasFormBody() {
        String contentHeaderValue = request.headers().get(HttpHeaderNames.CONTENT_TYPE);
        if (contentHeaderValue == null) {
            return false;
        }
        return HttpHeaderValues.APPLICATION_X_WWW_FORM_URLENCODED.contentEquals(contentHeaderValue)
                || HttpHeaderValues.MULTIPART_FORM_DATA.contentEquals(contentHeaderValue);
    }

Subdomains

Frequently Asked Questions

What does hasFormBody() do?
hasFormBody() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostStandardRequestDecoder.java.
Where is hasFormBody() defined?
hasFormBody() is defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostStandardRequestDecoder.java at line 667.
What calls hasFormBody()?
hasFormBody() is called by 1 function(s): parseBodyAttributesStandard.

Analyze Your Own Codebase

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

Try Supermodel Free