Class CorsUtil

java.lang.Object
io.micronaut.http.server.cors.CorsUtil

@Internal public final class CorsUtil extends Object
Utility methods for CORS.
Since:
1.0
Author:
Graeme Rocher
  • Method Details

    • isPreflightRequest

      public static boolean isPreflightRequest(HttpRequest<?> request)
      Parameters:
      request - The HttpRequest object
      Returns:
      Return whether this request is a pre-flight request