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
  43a98f94_1f77_0b04_2296_8f2db1620fd7["BitSet()"]
  2a0180af_7c8d_c2b4_07fb_724a88862fd8["CookieUtil"]
  43a98f94_1f77_0b04_2296_8f2db1620fd7 -->|defined in| 2a0180af_7c8d_c2b4_07fb_724a88862fd8
  style 43a98f94_1f77_0b04_2296_8f2db1620fd7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/cookie/CookieUtil.java lines 36–47

    private static BitSet validCookieNameOctets() {
        BitSet bits = new BitSet();
        for (int i = 32; i < 127; i++) {
            bits.set(i);
        }
        int[] separators = new int[]
                { '(', ')', '<', '>', '@', ',', ';', ':', '\\', '"', '/', '[', ']', '?', '=', '{', '}', ' ', '\t' };
        for (int separator : separators) {
            bits.set(separator, false);
        }
        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/cookie/CookieUtil.java.
Where is BitSet() defined?
BitSet() is defined in codec-http/src/main/java/io/netty/handler/codec/http/cookie/CookieUtil.java at line 36.

Analyze Your Own Codebase

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

Try Supermodel Free