private void validateIfMatch(String etag) {
        // if-match is not any and doesn't match the etag
        if (ifMatchTags != null && !ifMatchTags.contains(etag)) {
            throw new HttpException(HttpStatus.PRECONDITION_FAILED, "If-match condition is failed for etag: " + etag);
        }
    }
Http method, e.g. GET, PUT, POST and etc
storage/src/main/java/com/epam/aidial/core/storage/util/EtagHeader.java