Home / Function/ firstInvalidOctet() — netty Function Reference

firstInvalidOctet() — netty Function Reference

Architecture documentation for the firstInvalidOctet() function in CookieUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  66ea8fd7_c732_27f2_b195_5624a3dc4d89["firstInvalidOctet()"]
  34792e02_6ae5_db2f_ef12_be8295c4d494["CookieUtil"]
  66ea8fd7_c732_27f2_b195_5624a3dc4d89 -->|defined in| 34792e02_6ae5_db2f_ef12_be8295c4d494
  e7bf151e_8151_dde1_846e_eacd23eec041["firstInvalidCookieNameOctet()"]
  e7bf151e_8151_dde1_846e_eacd23eec041 -->|calls| 66ea8fd7_c732_27f2_b195_5624a3dc4d89
  7357c6bf_0cc7_6ed3_f3de_d56ed690c688["firstInvalidCookieValueOctet()"]
  7357c6bf_0cc7_6ed3_f3de_d56ed690c688 -->|calls| 66ea8fd7_c732_27f2_b195_5624a3dc4d89
  style 66ea8fd7_c732_27f2_b195_5624a3dc4d89 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/CookieUtil.java lines 78–86

    static int firstInvalidOctet(CharSequence cs, BitSet bits) {
        for (int i = 0; i < cs.length(); i++) {
            char c = cs.charAt(i);
            if (!bits.get(c)) {
                return i;
            }
        }
        return -1;
    }

Subdomains

Frequently Asked Questions

What does firstInvalidOctet() do?
firstInvalidOctet() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/CookieUtil.java.
Where is firstInvalidOctet() defined?
firstInvalidOctet() is defined in codec-http/src/main/java/io/netty/handler/codec/http/CookieUtil.java at line 78.
What calls firstInvalidOctet()?
firstInvalidOctet() is called by 2 function(s): firstInvalidCookieNameOctet, firstInvalidCookieValueOctet.

Analyze Your Own Codebase

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

Try Supermodel Free