@Override
    public boolean equals(@Nullable Object obj) {
        if (!(obj instanceof EndpointInfo)) {
            return false;
        }

        if (this == obj) {
            return true;
        }

        final EndpointInfo that = (EndpointInfo) obj;
        return hostnamePattern.equals(that.hostnamePattern) &&
               pathMapping.equals(that.pathMapping) &&
               Objects.equals(regexPathPrefix, that.regexPathPrefix) &&
               Objects.equals(fragment, that.fragment) &&
               Objects.equals(defaultMimeType, that.defaultMimeType) &&
               availableMimeTypes.equals(that.availableMimeTypes);
    }
Returns the set of available MIME types of this endpoint.
core/src/main/java/com/linecorp/armeria/server/docs/EndpointInfo.java