String requestMethod = currentHttpMethod.toString();
ApiOperation apiOperationAnnotation = handlerMethod.getMethodAnnotation(ApiOperation.class);
if (apiOperationAnnotation != null && !StringUtils.isBlank(apiOperationAnnotation.httpMethod())) {
String apiMethod = apiOperationAnnotation.httpMethod();
try {
RequestMethod.valueOf(apiMethod);
requestMethod = apiMethod;
} catch (IllegalArgumentException e) {
log.error("Invalid http method: " + apiMethod + "Valid ones are [" + RequestMethod.values() + "]", e);