Home / Function/ testStatusWithoutReasonPhrase() — netty Function Reference

testStatusWithoutReasonPhrase() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpResponseDecoderTest.java lines 1134–1146

    @Test
    public void testStatusWithoutReasonPhrase() {
        String responseStr = "HTTP/1.1 200 \r\n" +
                "Content-Length: 0\r\n\r\n";
        EmbeddedChannel channel = new EmbeddedChannel(new HttpResponseDecoder());
        assertTrue(channel.writeInbound(Unpooled.copiedBuffer(responseStr, CharsetUtil.US_ASCII)));
        HttpResponse response = channel.readInbound();
        assertTrue(response.decoderResult().isSuccess());
        assertEquals(HttpResponseStatus.OK, response.status());
        HttpContent c = channel.readInbound();
        c.release();
        assertFalse(channel.finish());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free