Home / Function/ dontNeedEncoding() — netty Function Reference

dontNeedEncoding() — netty Function Reference

Architecture documentation for the dontNeedEncoding() function in QueryStringEncoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  96c7280e_7a89_a791_3054_165b310c2092["dontNeedEncoding()"]
  88739b5e_ab87_c690_d57f_c07e4748985e["QueryStringEncoder"]
  96c7280e_7a89_a791_3054_165b310c2092 -->|defined in| 88739b5e_ab87_c690_d57f_c07e4748985e
  ca1ef345_010a_8eda_186f_df0edd89c2f0["encodeNonUtf8Component()"]
  ca1ef345_010a_8eda_186f_df0edd89c2f0 -->|calls| 96c7280e_7a89_a791_3054_165b310c2092
  79616a0a_4b03_da10_392b_24c9aae16249["encodeUtf8Component()"]
  79616a0a_4b03_da10_392b_24c9aae16249 -->|calls| 96c7280e_7a89_a791_3054_165b310c2092
  6e537793_b2eb_9896_6f4e_18ef6539826b["encodeUtf8ComponentSlow()"]
  6e537793_b2eb_9896_6f4e_18ef6539826b -->|calls| 96c7280e_7a89_a791_3054_165b310c2092
  style 96c7280e_7a89_a791_3054_165b310c2092 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/QueryStringEncoder.java lines 246–249

    private static boolean dontNeedEncoding(char ch) {
        return ch >= 'a' && ch <= 'z' || ch >= 'A' && ch <= 'Z' || ch >= '0' && ch <= '9'
                || ch == '-' || ch == '_' || ch == '.' || ch == '*' || ch == '~';
    }

Subdomains

Frequently Asked Questions

What does dontNeedEncoding() do?
dontNeedEncoding() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/QueryStringEncoder.java.
Where is dontNeedEncoding() defined?
dontNeedEncoding() is defined in codec-http/src/main/java/io/netty/handler/codec/http/QueryStringEncoder.java at line 246.
What calls dontNeedEncoding()?
dontNeedEncoding() is called by 3 function(s): encodeNonUtf8Component, encodeUtf8Component, encodeUtf8ComponentSlow.

Analyze Your Own Codebase

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

Try Supermodel Free