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