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