testConnect200Response() — netty Function Reference
Architecture documentation for the testConnect200Response() function in HttpContentEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 282614e0_4357_b8e3_63e9_82cbbbe26782["testConnect200Response()"] 992a26d3_2083_aeb8_4785_63c545814355["HttpContentEncoderTest"] 282614e0_4357_b8e3_63e9_82cbbbe26782 -->|defined in| 992a26d3_2083_aeb8_4785_63c545814355 fc64dfe0_a6f0_1908_5cc5_0108bdca8acf["assertEmptyResponse()"] 282614e0_4357_b8e3_63e9_82cbbbe26782 -->|calls| fc64dfe0_a6f0_1908_5cc5_0108bdca8acf style 282614e0_4357_b8e3_63e9_82cbbbe26782 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/HttpContentEncoderTest.java lines 327–339
@Test
public void testConnect200Response() throws Exception {
EmbeddedChannel ch = new EmbeddedChannel(new TestEncoder());
HttpRequest req = new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.CONNECT, "google.com:80");
ch.writeInbound(req);
HttpResponse res = new DefaultHttpResponse(HttpVersion.HTTP_1_1, HttpResponseStatus.OK);
res.headers().set(HttpHeaderNames.TRANSFER_ENCODING, HttpHeaderValues.CHUNKED);
ch.writeOutbound(res);
ch.writeOutbound(LastHttpContent.EMPTY_LAST_CONTENT);
assertEmptyResponse(ch);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testConnect200Response() do?
testConnect200Response() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpContentEncoderTest.java.
Where is testConnect200Response() defined?
testConnect200Response() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpContentEncoderTest.java at line 327.
What does testConnect200Response() call?
testConnect200Response() calls 1 function(s): assertEmptyResponse.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free