testDecodingSingleCookie() — netty Function Reference
Architecture documentation for the testDecodingSingleCookie() function in ServerCookieDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD fe244e8c_1dd3_4113_8200_43a5db91e9a8["testDecodingSingleCookie()"] d0a674bc_687d_fd48_2df1_78da505db812["ServerCookieDecoderTest"] fe244e8c_1dd3_4113_8200_43a5db91e9a8 -->|defined in| d0a674bc_687d_fd48_2df1_78da505db812 style fe244e8c_1dd3_4113_8200_43a5db91e9a8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/cookie/ServerCookieDecoderTest.java lines 30–38
@Test
public void testDecodingSingleCookie() {
String cookieString = "myCookie=myValue";
Set<Cookie> cookies = ServerCookieDecoder.STRICT.decode(cookieString);
assertEquals(1, cookies.size());
Cookie cookie = cookies.iterator().next();
assertNotNull(cookie);
assertEquals("myValue", cookie.value());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testDecodingSingleCookie() do?
testDecodingSingleCookie() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/cookie/ServerCookieDecoderTest.java.
Where is testDecodingSingleCookie() defined?
testDecodingSingleCookie() is defined in codec-http/src/test/java/io/netty/handler/codec/http/cookie/ServerCookieDecoderTest.java at line 30.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free