Replaces use of HttpMethod.resolve() with valueOf().

This commit is contained in:
spencergibb
2023-06-21 12:25:44 -04:00
committed by Oleg Zhurakousky
parent d944f5393d
commit f13feb1107

View File

@@ -97,7 +97,7 @@ public class FunctionHandlerMapping extends RequestMappingHandlerMapping
path = path.substring(this.prefix.length());
}
Object function = FunctionWebRequestProcessingHelper.findFunction(this.functionProperties, HttpMethod.resolve(request.getMethod()),
Object function = FunctionWebRequestProcessingHelper.findFunction(this.functionProperties, HttpMethod.valueOf(request.getMethod()),
this.functions, new HttpRequestAttributeDelegate(request), path);
if (function != null) {
if (this.logger.isDebugEnabled()) {