Fix Javadoc link in DefaultCorsProcessor
Closes gh-24921
This commit is contained in:
@@ -177,7 +177,7 @@ public class DefaultCorsProcessor implements CorsProcessor {
|
||||
/**
|
||||
* Check the HTTP method and determine the methods for the response of a
|
||||
* pre-flight request. The default implementation simply delegates to
|
||||
* {@link org.springframework.web.cors.CorsConfiguration#checkOrigin(String)}.
|
||||
* {@link org.springframework.web.cors.CorsConfiguration#checkHttpMethod(HttpMethod)}.
|
||||
*/
|
||||
@Nullable
|
||||
protected List<HttpMethod> checkMethods(CorsConfiguration config, @Nullable HttpMethod requestMethod) {
|
||||
|
||||
@@ -175,7 +175,7 @@ public class DefaultCorsProcessor implements CorsProcessor {
|
||||
/**
|
||||
* Check the HTTP method and determine the methods for the response of a
|
||||
* pre-flight request. The default implementation simply delegates to
|
||||
* {@link CorsConfiguration#checkOrigin(String)}.
|
||||
* {@link CorsConfiguration#checkHttpMethod(HttpMethod)}.
|
||||
*/
|
||||
@Nullable
|
||||
protected List<HttpMethod> checkMethods(CorsConfiguration config, @Nullable HttpMethod requestMethod) {
|
||||
|
||||
Reference in New Issue
Block a user