Home / Function/ findPathEndIndex() — netty Function Reference

findPathEndIndex() — netty Function Reference

Architecture documentation for the findPathEndIndex() function in QueryStringDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cd0e6ffc_71d2_4a9c_4dbe_bfb0d28c2ed3["findPathEndIndex()"]
  d00d9a2a_c645_a4f5_2b84_a0ba6136e063["QueryStringDecoder"]
  cd0e6ffc_71d2_4a9c_4dbe_bfb0d28c2ed3 -->|defined in| d00d9a2a_c645_a4f5_2b84_a0ba6136e063
  3cfbb642_9082_2322_122e_9b2439f8797b["pathEndIdx()"]
  3cfbb642_9082_2322_122e_9b2439f8797b -->|calls| cd0e6ffc_71d2_4a9c_4dbe_bfb0d28c2ed3
  style cd0e6ffc_71d2_4a9c_4dbe_bfb0d28c2ed3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/QueryStringDecoder.java lines 399–408

    private static int findPathEndIndex(String uri) {
        int len = uri.length();
        for (int i = 0; i < len; i++) {
            char c = uri.charAt(i);
            if (c == '?' || c == '#') {
                return i;
            }
        }
        return len;
    }

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free