testNoSchemeRequestTargetHandled() — netty Function Reference
Architecture documentation for the testNoSchemeRequestTargetHandled() function in HttpToHttp2ConnectionHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4c64324c_efb7_2704_7876_de980dcb54cf["testNoSchemeRequestTargetHandled()"] 919b1457_fbee_0bc0_c865_945a03b794b1["HttpToHttp2ConnectionHandlerTest"] 4c64324c_efb7_2704_7876_de980dcb54cf -->|defined in| 919b1457_fbee_0bc0_c865_945a03b794b1 5a522eb6_40fe_3d12_39a2_24e8e6f43e87["bootstrapEnv()"] 4c64324c_efb7_2704_7876_de980dcb54cf -->|calls| 5a522eb6_40fe_3d12_39a2_24e8e6f43e87 style 4c64324c_efb7_2704_7876_de980dcb54cf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/HttpToHttp2ConnectionHandlerTest.java lines 344–359
@Test
public void testNoSchemeRequestTargetHandled() throws Exception {
bootstrapEnv(2, 1, 0);
final FullHttpRequest request = new DefaultFullHttpRequest(HTTP_1_1, GET, "/");
final HttpHeaders httpHeaders = request.headers();
httpHeaders.setInt(HttpConversionUtil.ExtensionHeaderNames.STREAM_ID.text(), 5);
httpHeaders.set(HttpHeaderNames.HOST, "localhost");
ChannelPromise writePromise = newPromise();
ChannelFuture writeFuture = clientChannel.writeAndFlush(request, writePromise);
assertTrue(writePromise.awaitUninterruptibly(WAIT_TIME_SECONDS, SECONDS));
assertTrue(writePromise.isDone());
assertFalse(writePromise.isSuccess());
assertTrue(writeFuture.isDone());
assertFalse(writeFuture.isSuccess());
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does testNoSchemeRequestTargetHandled() do?
testNoSchemeRequestTargetHandled() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HttpToHttp2ConnectionHandlerTest.java.
Where is testNoSchemeRequestTargetHandled() defined?
testNoSchemeRequestTargetHandled() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HttpToHttp2ConnectionHandlerTest.java at line 344.
What does testNoSchemeRequestTargetHandled() call?
testNoSchemeRequestTargetHandled() calls 1 function(s): bootstrapEnv.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free