@NonNull
    public static HttpMethod parse(@NonNull String methodValue) {
        for (HttpMethod method : values()) {
            if (method.name().equals(methodValue)) {
                return method;
            }
        }
        return UNKNOWN;
    }
Returns the request method enum.

@param methodValue A string method presents in request line.
@return A HttpMethod enum.
netbare-core/src/main/java/com/github/megatronking/netbare/http/HttpMethod.java