Home / Function/ preflightRequestDoNotAllowCredentials() — netty Function Reference

preflightRequestDoNotAllowCredentials() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java lines 247–254

    @Test
    public void preflightRequestDoNotAllowCredentials() {
        final CorsConfig config = forOrigin("http://localhost:8888").build();
        final HttpResponse response = preflightRequest(config, "http://localhost:8888", "");
        // the only valid value for Access-Control-Allow-Credentials is true.
        assertFalse(response.headers().contains(ACCESS_CONTROL_ALLOW_CREDENTIALS));
        assertTrue(ReferenceCountUtil.release(response));
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free