Home / Function/ encode100ContinueAsHttp2HeadersFrameThatIsNotEndStream() — netty Function Reference

encode100ContinueAsHttp2HeadersFrameThatIsNotEndStream() — netty Function Reference

Architecture documentation for the encode100ContinueAsHttp2HeadersFrameThatIsNotEndStream() function in Http2StreamFrameToHttpObjectCodecTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  2289a7b3_62c7_6341_62d6_e6e605fd2f90["encode100ContinueAsHttp2HeadersFrameThatIsNotEndStream()"]
  f77629dd_309f_f368_8220_46ddc65ad871["Http2StreamFrameToHttpObjectCodecTest"]
  2289a7b3_62c7_6341_62d6_e6e605fd2f90 -->|defined in| f77629dd_309f_f368_8220_46ddc65ad871
  style 2289a7b3_62c7_6341_62d6_e6e605fd2f90 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodecTest.java lines 80–92

    @Test
    public void encode100ContinueAsHttp2HeadersFrameThatIsNotEndStream() throws Exception {
        EmbeddedChannel ch = new EmbeddedChannel(new Http2StreamFrameToHttpObjectCodec(true));
        assertTrue(ch.writeOutbound(new DefaultFullHttpResponse(
                HttpVersion.HTTP_1_1, HttpResponseStatus.CONTINUE)));

        Http2HeadersFrame headersFrame = ch.readOutbound();
        assertEquals("100", headersFrame.headers().status().toString());
        assertFalse(headersFrame.isEndStream());

        assertNull(ch.readOutbound());
        assertFalse(ch.finish());
    }

Domain

Subdomains

Frequently Asked Questions

What does encode100ContinueAsHttp2HeadersFrameThatIsNotEndStream() do?
encode100ContinueAsHttp2HeadersFrameThatIsNotEndStream() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodecTest.java.
Where is encode100ContinueAsHttp2HeadersFrameThatIsNotEndStream() defined?
encode100ContinueAsHttp2HeadersFrameThatIsNotEndStream() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodecTest.java at line 80.

Analyze Your Own Codebase

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

Try Supermodel Free