testDecodingSingleCookieV1() — netty Function Reference
Architecture documentation for the testDecodingSingleCookieV1() function in ClientCookieDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6c801617_5e3e_44ea_9674_42b94c74b94a["testDecodingSingleCookieV1()"] 2635e872_d46e_792f_9aed_dd9f06eec252["ClientCookieDecoderTest"] 6c801617_5e3e_44ea_9674_42b94c74b94a -->|defined in| 2635e872_d46e_792f_9aed_dd9f06eec252 style 6c801617_5e3e_44ea_9674_42b94c74b94a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/cookie/ClientCookieDecoderTest.java lines 75–86
@Test
public void testDecodingSingleCookieV1() {
String cookieString = "myCookie=myValue;max-age=50;path=/apathsomewhere;domain=.adomainsomewhere"
+ ";secure;comment=this is a comment;version=1;";
Cookie cookie = ClientCookieDecoder.STRICT.decode(cookieString);
assertEquals("myValue", cookie.value());
assertNotNull(cookie);
assertEquals(".adomainsomewhere", cookie.domain());
assertEquals(50, cookie.maxAge());
assertEquals("/apathsomewhere", cookie.path());
assertTrue(cookie.isSecure());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testDecodingSingleCookieV1() do?
testDecodingSingleCookieV1() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/cookie/ClientCookieDecoderTest.java.
Where is testDecodingSingleCookieV1() defined?
testDecodingSingleCookieV1() is defined in codec-http/src/test/java/io/netty/handler/codec/http/cookie/ClientCookieDecoderTest.java at line 75.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free