http3ToHttpHeaderTest() — netty Function Reference
Architecture documentation for the http3ToHttpHeaderTest() function in HttpConversionUtilTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 718845bf_328c_6037_7744_48f9beec63c6["http3ToHttpHeaderTest()"] b5e6fbc0_e12d_cbf9_49ab_affded2b7791["HttpConversionUtilTest"] 718845bf_328c_6037_7744_48f9beec63c6 -->|defined in| b5e6fbc0_e12d_cbf9_49ab_affded2b7791 style 718845bf_328c_6037_7744_48f9beec63c6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/test/java/io/netty/handler/codec/http3/HttpConversionUtilTest.java lines 213–229
@Test
public void http3ToHttpHeaderTest() throws Exception {
Http3Headers http3Headers = new DefaultHttp3Headers();
http3Headers.status("200");
http3Headers.path("/meow"); // HTTP/2 Header response should not contain 'path' in response.
http3Headers.set("cat", "meow");
HttpHeaders httpHeaders = new DefaultHttpHeaders();
HttpConversionUtil.addHttp3ToHttpHeaders(3, http3Headers, httpHeaders, HttpVersion.HTTP_1_1, false, true);
assertFalse(httpHeaders.contains(HttpConversionUtil.ExtensionHeaderNames.PATH.text()));
assertEquals("meow", httpHeaders.get("cat"));
httpHeaders.clear();
HttpConversionUtil.addHttp3ToHttpHeaders(3, http3Headers, httpHeaders, HttpVersion.HTTP_1_1, false, false);
assertTrue(httpHeaders.contains(HttpConversionUtil.ExtensionHeaderNames.PATH.text()));
assertEquals("meow", httpHeaders.get("cat"));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does http3ToHttpHeaderTest() do?
http3ToHttpHeaderTest() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/HttpConversionUtilTest.java.
Where is http3ToHttpHeaderTest() defined?
http3ToHttpHeaderTest() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/HttpConversionUtilTest.java at line 213.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free