Home / Function/ testLastResponseWithTrailingHeaderFragmented() — netty Function Reference

testLastResponseWithTrailingHeaderFragmented() — netty Function Reference

Architecture documentation for the testLastResponseWithTrailingHeaderFragmented() function in HttpResponseDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b28c707b_92ce_6992_fc83_b900e5c4aa6b["testLastResponseWithTrailingHeaderFragmented()"]
  90546a8c_51c4_a9dc_b6e8_695d29269596["HttpResponseDecoderTest"]
  b28c707b_92ce_6992_fc83_b900e5c4aa6b -->|defined in| 90546a8c_51c4_a9dc_b6e8_695d29269596
  style b28c707b_92ce_6992_fc83_b900e5c4aa6b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpResponseDecoderTest.java lines 618–631

    @Test
    public void testLastResponseWithTrailingHeaderFragmented() {
        byte[] data = ("HTTP/1.1 200 OK\r\n" +
                "Transfer-Encoding: chunked\r\n" +
                "\r\n" +
                "0\r\n" +
                "Set-Cookie: t1=t1v1\r\n" +
                "Set-Cookie: t2=t2v2; Expires=Wed, 09-Jun-2021 10:18:14 GMT\r\n" +
                "\r\n").getBytes(CharsetUtil.US_ASCII);

        for (int i = 1; i < data.length; i++) {
            testLastResponseWithTrailingHeaderFragmented(data, i);
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free