Home / Function/ assertAssembledEncodedResponse() — netty Function Reference

assertAssembledEncodedResponse() — netty Function Reference

Architecture documentation for the assertAssembledEncodedResponse() function in HttpContentCompressorTest.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  d179a61a_aacc_9d38_a631_c524a9efaa2f["assertAssembledEncodedResponse()"]
  32ab04b0_6c83_d4f7_6483_fd304f908331["HttpContentCompressorTest"]
  d179a61a_aacc_9d38_a631_c524a9efaa2f -->|defined in| 32ab04b0_6c83_d4f7_6483_fd304f908331
  4a59ce6e_fb08_74f2_2002_2b895b4a0b88["testChunkedContentWithAssembledResponse()"]
  4a59ce6e_fb08_74f2_2002_2b895b4a0b88 -->|calls| d179a61a_aacc_9d38_a631_c524a9efaa2f
  bdf032ba_93a9_0f83_122a_c24ea71efa75["release()"]
  d179a61a_aacc_9d38_a631_c524a9efaa2f -->|calls| bdf032ba_93a9_0f83_122a_c24ea71efa75
  style d179a61a_aacc_9d38_a631_c524a9efaa2f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpContentCompressorTest.java lines 1015–1028

    private static void assertAssembledEncodedResponse(EmbeddedChannel ch) {
        Object o = ch.readOutbound();
        assertInstanceOf(AssembledHttpResponse.class, o);

        AssembledHttpResponse res = (AssembledHttpResponse) o;
        try {
            assertInstanceOf(HttpContent.class, res);
            assertEquals("chunked", res.headers().get(HttpHeaderNames.TRANSFER_ENCODING));
            assertNull(res.headers().get(HttpHeaderNames.CONTENT_LENGTH));
            assertEquals("gzip", res.headers().get(HttpHeaderNames.CONTENT_ENCODING));
        } finally {
            res.release();
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does assertAssembledEncodedResponse() do?
assertAssembledEncodedResponse() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpContentCompressorTest.java.
Where is assertAssembledEncodedResponse() defined?
assertAssembledEncodedResponse() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpContentCompressorTest.java at line 1015.
What does assertAssembledEncodedResponse() call?
assertAssembledEncodedResponse() calls 1 function(s): release.
What calls assertAssembledEncodedResponse()?
assertAssembledEncodedResponse() is called by 1 function(s): testChunkedContentWithAssembledResponse.

Analyze Your Own Codebase

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

Try Supermodel Free