parent
1658223e58
commit
df291a39b1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue