Home / Function/ testAbsoluteFormRequestTargetHandledFromHeaders() — netty Function Reference

testAbsoluteFormRequestTargetHandledFromHeaders() — netty Function Reference

Architecture documentation for the testAbsoluteFormRequestTargetHandledFromHeaders() function in HttpToHttp2ConnectionHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9e1c4593_e0d9_2ad6_6a7e_6e59d9abd1e2["testAbsoluteFormRequestTargetHandledFromHeaders()"]
  919b1457_fbee_0bc0_c865_945a03b794b1["HttpToHttp2ConnectionHandlerTest"]
  9e1c4593_e0d9_2ad6_6a7e_6e59d9abd1e2 -->|defined in| 919b1457_fbee_0bc0_c865_945a03b794b1
  5a522eb6_40fe_3d12_39a2_24e8e6f43e87["bootstrapEnv()"]
  9e1c4593_e0d9_2ad6_6a7e_6e59d9abd1e2 -->|calls| 5a522eb6_40fe_3d12_39a2_24e8e6f43e87
  0b997372_29fd_e986_1830_583e5203b661["verifyHeadersOnly()"]
  9e1c4593_e0d9_2ad6_6a7e_6e59d9abd1e2 -->|calls| 0b997372_29fd_e986_1830_583e5203b661
  style 9e1c4593_e0d9_2ad6_6a7e_6e59d9abd1e2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/HttpToHttp2ConnectionHandlerTest.java lines 230–246

    @Test
    public void testAbsoluteFormRequestTargetHandledFromHeaders() throws Exception {
        bootstrapEnv(2, 1, 0);
        final FullHttpRequest request = new DefaultFullHttpRequest(HTTP_1_1, GET, "/pub/WWW/TheProject.html");
        final HttpHeaders httpHeaders = request.headers();
        httpHeaders.setInt(HttpConversionUtil.ExtensionHeaderNames.STREAM_ID.text(), 5);
        httpHeaders.set(HttpHeaderNames.HOST, "foouser@www.example.org:5555");
        httpHeaders.set(HttpConversionUtil.ExtensionHeaderNames.PATH.text(), "ignored_path");
        httpHeaders.set(HttpConversionUtil.ExtensionHeaderNames.SCHEME.text(), "https");
        final Http2Headers http2Headers =
                new DefaultHttp2Headers().method(new AsciiString("GET"))
                .path(new AsciiString("/pub/WWW/TheProject.html"))
                .authority(new AsciiString("www.example.org:5555")).scheme(new AsciiString("https"));

        ChannelPromise writePromise = newPromise();
        verifyHeadersOnly(http2Headers, writePromise, clientChannel.writeAndFlush(request, writePromise));
    }

Domain

Subdomains

Frequently Asked Questions

What does testAbsoluteFormRequestTargetHandledFromHeaders() do?
testAbsoluteFormRequestTargetHandledFromHeaders() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HttpToHttp2ConnectionHandlerTest.java.
Where is testAbsoluteFormRequestTargetHandledFromHeaders() defined?
testAbsoluteFormRequestTargetHandledFromHeaders() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HttpToHttp2ConnectionHandlerTest.java at line 230.
What does testAbsoluteFormRequestTargetHandledFromHeaders() call?
testAbsoluteFormRequestTargetHandledFromHeaders() calls 2 function(s): bootstrapEnv, verifyHeadersOnly.

Analyze Your Own Codebase

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

Try Supermodel Free