Home / Function/ testEncodingMultipleCookiesStrict() — netty Function Reference

testEncodingMultipleCookiesStrict() — netty Function Reference

Architecture documentation for the testEncodingMultipleCookiesStrict() function in ServerCookieEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0d452ae9_7544_5c57_719c_f9c1d985af9e["testEncodingMultipleCookiesStrict()"]
  8f5d85cb_9261_ef89_d9fb_1265f8ca3574["ServerCookieEncoderTest"]
  0d452ae9_7544_5c57_719c_f9c1d985af9e -->|defined in| 8f5d85cb_9261_ef89_d9fb_1265f8ca3574
  style 0d452ae9_7544_5c57_719c_f9c1d985af9e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/cookie/ServerCookieEncoderTest.java lines 74–84

    @Test
    public void testEncodingMultipleCookiesStrict() {
        List<String> result = new ArrayList<String>();
        result.add("cookie2=value2");
        result.add("cookie1=value3");
        Cookie cookie1 = new DefaultCookie("cookie1", "value1");
        Cookie cookie2 = new DefaultCookie("cookie2", "value2");
        Cookie cookie3 = new DefaultCookie("cookie1", "value3");
        List<String> encodedCookies = ServerCookieEncoder.STRICT.encode(cookie1, cookie2, cookie3);
        assertEquals(result, encodedCookies);
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free