Home / Function/ simpleRequestWithAnyOrigin() — netty Function Reference

simpleRequestWithAnyOrigin() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java lines 68–74

    @Test
    public void simpleRequestWithAnyOrigin() {
        final HttpResponse response = simpleRequest(forAnyOrigin().build(), "http://localhost:7777");
        assertEquals("*", 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 simpleRequestWithAnyOrigin() do?
simpleRequestWithAnyOrigin() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java.
Where is simpleRequestWithAnyOrigin() defined?
simpleRequestWithAnyOrigin() is defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java at line 68.

Analyze Your Own Codebase

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

Try Supermodel Free