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

This commit is contained in:
spencergibb
2023-06-21 12:25:44 -04:00
parent 6b4e5899c2
commit 509df2f727

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()) {