public class CORSHeaders extends Object
Constructor and Description |
---|
CORSHeaders() |
Modifier and Type | Method and Description |
---|---|
void |
addCORSHeaders(HttpRequest request,
HttpResponse response) |
static boolean |
isPreflightRequest(HttpRequest request) |
public static boolean isPreflightRequest(HttpRequest request)
public void addCORSHeaders(HttpRequest request, HttpResponse response)
Copyright © 2018. All rights reserved.