if (supportedMethod != request.getMethod()) { if (request.getMethod() == HttpMethod.OPTIONS && transportType.supportsCors()) { if (checkOrigin(request, response, HttpMethod.OPTIONS, supportedMethod)) { response.setStatusCode(HttpStatus.NO_CONTENT); addCacheHeaders(response); addNoCacheHeaders(response); if (transportType.supportsCors() && !checkOrigin(request, response)) { return;
if (supportedMethod != request.getMethod()) { if (request.getMethod() == HttpMethod.OPTIONS && transportType.supportsCors()) { if (checkOrigin(request, response, HttpMethod.OPTIONS, supportedMethod)) { response.setStatusCode(HttpStatus.NO_CONTENT); addCacheHeaders(response); addNoCacheHeaders(response); if (transportType.supportsCors() && !checkOrigin(request, response)) { return;
if (supportedMethod != request.getMethod()) { if (request.getMethod() == HttpMethod.OPTIONS && transportType.supportsCors()) { if (checkOrigin(request, response, HttpMethod.OPTIONS, supportedMethod)) { response.setStatusCode(HttpStatus.NO_CONTENT); addCacheHeaders(response); addNoCacheHeaders(response); if (transportType.supportsCors() && !checkOrigin(request, response)) { return;