Home / Function/ BitSet() — netty Function Reference

BitSet() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6daa267c_6a1b_ec6d_94a6_b7d00725a838["BitSet()"]
  34792e02_6ae5_db2f_ef12_be8295c4d494["CookieUtil"]
  6daa267c_6a1b_ec6d_94a6_b7d00725a838 -->|defined in| 34792e02_6ae5_db2f_ef12_be8295c4d494
  style 6daa267c_6a1b_ec6d_94a6_b7d00725a838 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/CookieUtil.java lines 31–42

    private static BitSet validCookieValueOctets() {
        BitSet bits = new BitSet(8);
        for (int i = 35; i < 127; i++) {
            // US-ASCII characters excluding CTLs (%x00-1F / %x7F)
            bits.set(i);
        }
        bits.set('"', false);  // exclude DQUOTE = %x22
        bits.set(',', false);  // exclude comma = %x2C
        bits.set(';', false);  // exclude semicolon = %x3B
        bits.set('\\', false); // exclude backslash = %x5C
        return bits;
    }

Subdomains

Frequently Asked Questions

What does BitSet() do?
BitSet() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/CookieUtil.java.
Where is BitSet() defined?
BitSet() is defined in codec-http/src/main/java/io/netty/handler/codec/http/CookieUtil.java at line 31.

Analyze Your Own Codebase

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

Try Supermodel Free