Home / Function/ simpleRequestWithNoMatchingOrigin() — netty Function Reference

simpleRequestWithNoMatchingOrigin() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java lines 112–120

    @Test
    public void simpleRequestWithNoMatchingOrigin() {
        final String origin = "http://localhost:8888";
        final HttpResponse response = simpleRequest(
                forOrigins("https://localhost:8888").build(), origin);
        assertNull(response.headers().get(ACCESS_CONTROL_ALLOW_ORIGIN));
        assertNull(response.headers().get(ACCESS_CONTROL_ALLOW_HEADERS));
        assertTrue(ReferenceCountUtil.release(response));
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free