public static ApiHttpMethodEnum of(final String name) {
        return Arrays.stream(ApiHttpMethodEnum.values())
                .filter(e -> e.name.equals(name)).findFirst()
                .orElseThrow(() -> new ShenyuException(String.format(" this http method can not support %s", name)));
    }
build ApiHttpMethodEnum by name .

@param name name
@return ApiHttpMethodEnum
shenyu-common/src/main/java/org/apache/shenyu/common/enums/ApiHttpMethodEnum.java