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