Package org.mockserver.cors
Class CORSHeaders
- java.lang.Object
-
- org.mockserver.cors.CORSHeaders
-
public class CORSHeaders extends Object
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description CORSHeaders()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCORSHeaders(HttpRequest request, HttpResponse response)
static boolean
isPreflightRequest(HttpRequest request)
-
-
-
Method Detail
-
isPreflightRequest
public static boolean isPreflightRequest(HttpRequest request)
-
addCORSHeaders
public void addCORSHeaders(HttpRequest request, HttpResponse response)
-
-