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