Home / Function/ origin() — netty Function Reference

origin() — netty Function Reference

Architecture documentation for the origin() function in CorsConfigTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  677cff4f_8123_a537_cf63_7cc039849ffd["origin()"]
  4c12e86c_466b_5dbf_1ee2_0e8263642d7d["CorsConfigTest"]
  677cff4f_8123_a537_cf63_7cc039849ffd -->|defined in| 4c12e86c_466b_5dbf_1ee2_0e8263642d7d
  778e18f4_ec5a_c03c_b8c1_a95f0a372dd8["anyOrigin()"]
  778e18f4_ec5a_c03c_b8c1_a95f0a372dd8 -->|calls| 677cff4f_8123_a537_cf63_7cc039849ffd
  9801982a_1da4_e5ae_11be_36cb4a6ee617["wildcardOrigin()"]
  9801982a_1da4_e5ae_11be_36cb4a6ee617 -->|calls| 677cff4f_8123_a537_cf63_7cc039849ffd
  style 677cff4f_8123_a537_cf63_7cc039849ffd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsConfigTest.java lines 59–64

    @Test
    public void origin() {
        final CorsConfig cors = forOrigin("http://localhost:7888").build();
        assertEquals("http://localhost:7888", cors.origin());
        assertFalse(cors.isAnyOriginSupported());
    }

Domain

Subdomains

Frequently Asked Questions

What does origin() do?
origin() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsConfigTest.java.
Where is origin() defined?
origin() is defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsConfigTest.java at line 59.
What calls origin()?
origin() is called by 2 function(s): anyOrigin, wildcardOrigin.

Analyze Your Own Codebase

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

Try Supermodel Free