isPreflightRequest() — netty Function Reference
Architecture documentation for the isPreflightRequest() function in CorsHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 9d53585d_ffbc_c503_7ed7_7772002f41b2["isPreflightRequest()"] 48d2af19_d0e9_a2f5_8280_607eb2335be4["CorsHandler"] 9d53585d_ffbc_c503_7ed7_7772002f41b2 -->|defined in| 48d2af19_d0e9_a2f5_8280_607eb2335be4 027a5736_cffb_b2ba_1d21_bab8955f01f6["channelRead()"] 027a5736_cffb_b2ba_1d21_bab8955f01f6 -->|calls| 9d53585d_ffbc_c503_7ed7_7772002f41b2 style 9d53585d_ffbc_c503_7ed7_7772002f41b2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/cors/CorsHandler.java lines 218–223
private static boolean isPreflightRequest(final HttpRequest request) {
final HttpHeaders headers = request.headers();
return OPTIONS.equals(request.method()) &&
headers.contains(HttpHeaderNames.ORIGIN) &&
headers.contains(HttpHeaderNames.ACCESS_CONTROL_REQUEST_METHOD);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does isPreflightRequest() do?
isPreflightRequest() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/cors/CorsHandler.java.
Where is isPreflightRequest() defined?
isPreflightRequest() is defined in codec-http/src/main/java/io/netty/handler/codec/http/cors/CorsHandler.java at line 218.
What calls isPreflightRequest()?
isPreflightRequest() is called by 1 function(s): channelRead.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free