emptyPreflightResponseHeaders() — netty Function Reference
Architecture documentation for the emptyPreflightResponseHeaders() function in CorsConfigTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 427bd573_a5e0_5f7c_3548_2c3faf3c7a82["emptyPreflightResponseHeaders()"] 4c12e86c_466b_5dbf_1ee2_0e8263642d7d["CorsConfigTest"] 427bd573_a5e0_5f7c_3548_2c3faf3c7a82 -->|defined in| 4c12e86c_466b_5dbf_1ee2_0e8263642d7d style 427bd573_a5e0_5f7c_3548_2c3faf3c7a82 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsConfigTest.java lines 123–127
@Test
public void emptyPreflightResponseHeaders() {
final CorsConfig cors = forAnyOrigin().noPreflightResponseHeaders().build();
assertEquals(EmptyHttpHeaders.INSTANCE, cors.preflightResponseHeaders());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does emptyPreflightResponseHeaders() do?
emptyPreflightResponseHeaders() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsConfigTest.java.
Where is emptyPreflightResponseHeaders() defined?
emptyPreflightResponseHeaders() is defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsConfigTest.java at line 123.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free