public abstract class CorsUtils extends Object
Constructor and Description |
---|
CorsUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isCorsRequest(HttpServletRequest request)
Returns
true if the request is a valid CORS one. |
static boolean |
isPreFlightRequest(HttpServletRequest request)
Returns
true if the request is a valid CORS pre-flight one. |
public static boolean isCorsRequest(HttpServletRequest request)
true
if the request is a valid CORS one.public static boolean isPreFlightRequest(HttpServletRequest request)
true
if the request is a valid CORS pre-flight one.