Home / Function/ testDecodingWeirdNames1() — netty Function Reference

testDecodingWeirdNames1() — netty Function Reference

Architecture documentation for the testDecodingWeirdNames1() function in ClientCookieDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6a653885_4a85_1361_2f55_73157bde543b["testDecodingWeirdNames1()"]
  2635e872_d46e_792f_9aed_dd9f06eec252["ClientCookieDecoderTest"]
  6a653885_4a85_1361_2f55_73157bde543b -->|defined in| 2635e872_d46e_792f_9aed_dd9f06eec252
  style 6a653885_4a85_1361_2f55_73157bde543b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/cookie/ClientCookieDecoderTest.java lines 194–201

    @Test
    public void testDecodingWeirdNames1() {
        String src = "path=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=/; domain=.www.google.com";
        Cookie cookie = ClientCookieDecoder.STRICT.decode(src);
        assertEquals("path", cookie.name());
        assertEquals("", cookie.value());
        assertEquals("/", cookie.path());
    }

Domain

Subdomains

Frequently Asked Questions

What does testDecodingWeirdNames1() do?
testDecodingWeirdNames1() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/cookie/ClientCookieDecoderTest.java.
Where is testDecodingWeirdNames1() defined?
testDecodingWeirdNames1() is defined in codec-http/src/test/java/io/netty/handler/codec/http/cookie/ClientCookieDecoderTest.java at line 194.

Analyze Your Own Codebase

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

Try Supermodel Free