Home / Function/ isPostMethod() — netty Function Reference

isPostMethod() — netty Function Reference

Architecture documentation for the isPostMethod() function in HttpRequestDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a4458893_fb79_577f_3220_7de94967614c["isPostMethod()"]
  4589186b_4bcc_122c_2013_a0e40fd58a92["HttpRequestDecoder"]
  a4458893_fb79_577f_3220_7de94967614c -->|defined in| 4589186b_4bcc_122c_2013_a0e40fd58a92
  09566f6c_f33d_6ed1_3bc1_ea2e2fc4de1b["String()"]
  09566f6c_f33d_6ed1_3bc1_ea2e2fc4de1b -->|calls| a4458893_fb79_577f_3220_7de94967614c
  style a4458893_fb79_577f_3220_7de94967614c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/HttpRequestDecoder.java lines 335–341

    private static boolean isPostMethod(final byte[] sb, int start) {
        final int maybePost = sb[start] |
                sb[start + 1] << 8 |
                sb[start + 2] << 16 |
                sb[start + 3] << 24;
        return maybePost == POST_AS_INT;
    }

Subdomains

Called By

Frequently Asked Questions

What does isPostMethod() do?
isPostMethod() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpRequestDecoder.java.
Where is isPostMethod() defined?
isPostMethod() is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpRequestDecoder.java at line 335.
What calls isPostMethod()?
isPostMethod() is called by 1 function(s): String.

Analyze Your Own Codebase

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

Try Supermodel Free