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