Home / Function/ clientRequestSingleHeaderNonAsciiShouldThrow() — netty Function Reference

clientRequestSingleHeaderNonAsciiShouldThrow() — netty Function Reference

Architecture documentation for the clientRequestSingleHeaderNonAsciiShouldThrow() function in InboundHttp2ToHttpAdapterTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  aeaacd77_cdf8_f9d0_7b20_15d8390dc670["clientRequestSingleHeaderNonAsciiShouldThrow()"]
  b5bf07b2_a16a_fa49_d2b2_c4bdea19488b["InboundHttp2ToHttpAdapterTest"]
  aeaacd77_cdf8_f9d0_7b20_15d8390dc670 -->|defined in| b5bf07b2_a16a_fa49_d2b2_c4bdea19488b
  ab34dca1_da01_a824_4707_d9e1e8e727ee["boostrapEnv()"]
  aeaacd77_cdf8_f9d0_7b20_15d8390dc670 -->|calls| ab34dca1_da01_a824_4707_d9e1e8e727ee
  cbd605cc_a17c_ffce_e466_822e222a55ba["awaitResponses()"]
  aeaacd77_cdf8_f9d0_7b20_15d8390dc670 -->|calls| cbd605cc_a17c_ffce_e466_822e222a55ba
  style aeaacd77_cdf8_f9d0_7b20_15d8390dc670 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapterTest.java lines 240–259

    @Test
    public void clientRequestSingleHeaderNonAsciiShouldThrow() throws Exception {
        boostrapEnv(1, 1, 1);
        final Http2Headers http2Headers = new DefaultHttp2Headers()
                .method(new AsciiString("GET"))
                .scheme(new AsciiString("https"))
                .authority(new AsciiString("example.org"))
                .path(new AsciiString("/some/path/resource2"))
                .add(new AsciiString("çã".getBytes(CharsetUtil.UTF_8)),
                        new AsciiString("Ãã".getBytes(CharsetUtil.UTF_8)));
        runInChannel(clientChannel, new Http2Runnable() {
            @Override
            public void run() throws Http2Exception {
                clientHandler.encoder().writeHeaders(ctxClient(), 3, http2Headers, 0, true, newPromiseClient());
                clientChannel.flush();
            }
        });
        awaitResponses();
        assertTrue(isStreamError(clientException));
    }

Domain

Subdomains

Frequently Asked Questions

What does clientRequestSingleHeaderNonAsciiShouldThrow() do?
clientRequestSingleHeaderNonAsciiShouldThrow() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapterTest.java.
Where is clientRequestSingleHeaderNonAsciiShouldThrow() defined?
clientRequestSingleHeaderNonAsciiShouldThrow() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapterTest.java at line 240.
What does clientRequestSingleHeaderNonAsciiShouldThrow() call?
clientRequestSingleHeaderNonAsciiShouldThrow() calls 2 function(s): awaitResponses, boostrapEnv.

Analyze Your Own Codebase

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

Try Supermodel Free