Home / Function/ testDecodingSingleCookieV1ExtraParamsIgnored() — netty Function Reference

testDecodingSingleCookieV1ExtraParamsIgnored() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/cookie/ClientCookieDecoderTest.java lines 88–100

    @Test
    public void testDecodingSingleCookieV1ExtraParamsIgnored() {
        String cookieString = "myCookie=myValue;max-age=50;path=/apathsomewhere;"
                + "domain=.adomainsomewhere;secure;comment=this is a comment;version=1;"
                + "commentURL=http://aurl.com;port='80,8080';discard;";
        Cookie cookie = ClientCookieDecoder.STRICT.decode(cookieString);
        assertNotNull(cookie);
        assertEquals("myValue", cookie.value());
        assertEquals(".adomainsomewhere", cookie.domain());
        assertEquals(50, cookie.maxAge());
        assertEquals("/apathsomewhere", cookie.path());
        assertTrue(cookie.isSecure());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free