public boolean equals()

in dubbo-metadata-report-extensions/dubbo-metadata-rest/src/main/java/org/apache/dubbo/metadata/extension/rest/api/RestMethodMetadata.java [198:214]


    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof RestMethodMetadata)) {
            return false;
        }
        RestMethodMetadata that = (RestMethodMetadata) o;
        return Objects.equals(getMethod(), that.getMethod())
                && Objects.equals(getRequest(), that.getRequest())
                && Objects.equals(getUrlIndex(), that.getUrlIndex())
                && Objects.equals(getBodyIndex(), that.getBodyIndex())
                && Objects.equals(getHeaderMapIndex(), that.getHeaderMapIndex())
                && Objects.equals(getBodyType(), that.getBodyType())
                && Objects.equals(getFormParams(), that.getFormParams())
                && Objects.equals(getIndexToEncoded(), that.getIndexToEncoded());
    }