simpleRequestShortCircuit() — netty Function Reference
Architecture documentation for the simpleRequestShortCircuit() function in CorsHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b7126745_4f46_c259_2aa7_434f8409df3d["simpleRequestShortCircuit()"] e946b2e4_b243_053e_5c0a_3d1a9a50042d["CorsHandlerTest"] b7126745_4f46_c259_2aa7_434f8409df3d -->|defined in| e946b2e4_b243_053e_5c0a_3d1a9a50042d style b7126745_4f46_c259_2aa7_434f8409df3d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java lines 301–308
@Test
public void simpleRequestShortCircuit() {
final CorsConfig config = forOrigin("http://localhost:8080").shortCircuit().build();
final HttpResponse response = simpleRequest(config, "http://localhost:7777");
assertEquals(FORBIDDEN, response.status());
assertEquals("0", response.headers().get(CONTENT_LENGTH));
assertTrue(ReferenceCountUtil.release(response));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does simpleRequestShortCircuit() do?
simpleRequestShortCircuit() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java.
Where is simpleRequestShortCircuit() defined?
simpleRequestShortCircuit() is defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java at line 301.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free