Home / Function/ preflightRequestAllowCredentials() — netty Function Reference

preflightRequestAllowCredentials() — netty Function Reference

Architecture documentation for the preflightRequestAllowCredentials() function in CorsHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d7448afb_4a39_deeb_f766_f50ba65ad750["preflightRequestAllowCredentials()"]
  e946b2e4_b243_053e_5c0a_3d1a9a50042d["CorsHandlerTest"]
  d7448afb_4a39_deeb_f766_f50ba65ad750 -->|defined in| e946b2e4_b243_053e_5c0a_3d1a9a50042d
  style d7448afb_4a39_deeb_f766_f50ba65ad750 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java lines 238–245

    @Test
    public void preflightRequestAllowCredentials() {
        final String origin = "null";
        final CorsConfig config = forOrigin(origin).allowCredentials().build();
        final HttpResponse response = preflightRequest(config, origin, "content-type, xheader1");
        assertEquals("true", response.headers().get(ACCESS_CONTROL_ALLOW_CREDENTIALS));
        assertTrue(ReferenceCountUtil.release(response));
    }

Domain

Subdomains

Frequently Asked Questions

What does preflightRequestAllowCredentials() do?
preflightRequestAllowCredentials() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java.
Where is preflightRequestAllowCredentials() defined?
preflightRequestAllowCredentials() is defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java at line 238.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free