testDecodingSingleCookieV0ExtraParamsIgnored() — netty Function Reference
Architecture documentation for the testDecodingSingleCookieV0ExtraParamsIgnored() function in ClientCookieDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7c2b0819_04d1_2f57_b1d2_22c4932976b1["testDecodingSingleCookieV0ExtraParamsIgnored()"] 2635e872_d46e_792f_9aed_dd9f06eec252["ClientCookieDecoderTest"] 7c2b0819_04d1_2f57_b1d2_22c4932976b1 -->|defined in| 2635e872_d46e_792f_9aed_dd9f06eec252 style 7c2b0819_04d1_2f57_b1d2_22c4932976b1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/cookie/ClientCookieDecoderTest.java lines 61–73
@Test
public void testDecodingSingleCookieV0ExtraParamsIgnored() {
String cookieString = "myCookie=myValue;max-age=50;path=/apathsomewhere;" +
"domain=.adomainsomewhere;secure;comment=this is a comment;version=0;" +
"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
Source
Frequently Asked Questions
What does testDecodingSingleCookieV0ExtraParamsIgnored() do?
testDecodingSingleCookieV0ExtraParamsIgnored() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/cookie/ClientCookieDecoderTest.java.
Where is testDecodingSingleCookieV0ExtraParamsIgnored() defined?
testDecodingSingleCookieV0ExtraParamsIgnored() is defined in codec-http/src/test/java/io/netty/handler/codec/http/cookie/ClientCookieDecoderTest.java at line 61.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free