Interface DigestBasedDuplicateDetection

All Known Implementing Classes:
WarcHttpResponse

public interface DigestBasedDuplicateDetection
Allows to determine if an HttpResponse is duplicate. For more details, see the relative section in the it.unimi.dsi.law.warc.io package description.
  • Method Summary

    Modifier and Type Method Description
    byte[] digest()
    Returns the content digest.
    boolean isDuplicate()
    Returns the duplicate status of this response.
  • Method Details

    • digest

      byte[] digest()
      Returns the content digest.
      Returns:
      the digest.
    • isDuplicate

      boolean isDuplicate()
      Returns the duplicate status of this response.
      Returns:
      whether this response is a duplicate.