Home / Function/ testValidRequestWith100ContinueAndDecoder() — netty Function Reference

testValidRequestWith100ContinueAndDecoder() — netty Function Reference

Architecture documentation for the testValidRequestWith100ContinueAndDecoder() function in HttpObjectAggregatorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  fd8d32ec_f7b3_4c07_90a3_851383cca2b9["testValidRequestWith100ContinueAndDecoder()"]
  32ca569a_2b67_1114_bbc8_cbf703c91b95["HttpObjectAggregatorTest"]
  fd8d32ec_f7b3_4c07_90a3_851383cca2b9 -->|defined in| 32ca569a_2b67_1114_bbc8_cbf703c91b95
  style fd8d32ec_f7b3_4c07_90a3_851383cca2b9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpObjectAggregatorTest.java lines 479–494

    @Test
    public void testValidRequestWith100ContinueAndDecoder() {
        EmbeddedChannel embedder = new EmbeddedChannel(new HttpRequestDecoder(), new HttpObjectAggregator(100));
        embedder.writeInbound(Unpooled.copiedBuffer(
            "GET /upload HTTP/1.1\r\n" +
                "Expect: 100-continue\r\n" +
                "Content-Length: 0\r\n\r\n", CharsetUtil.US_ASCII));

        FullHttpResponse response = embedder.readOutbound();
        assertEquals(HttpResponseStatus.CONTINUE, response.status());
        FullHttpRequest request = embedder.readInbound();
        assertFalse(request.headers().contains(HttpHeaderNames.EXPECT));
        request.release();
        response.release();
        assertFalse(embedder.finish());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free