Interface ChecksumExtractor


public interface ChecksumExtractor
Checksum extractor. Uses all known ChecksumExtractorStrategy components to extract included checksums, first extractor returning non-empty value wins.
Since:
2.0.0
  • Method Details

    • extractChecksums

      Extract checksums using given getter, if possible, or null.

      The supplied headerGetter function should provide access to given transport response HTTP Headers in some common way, like for example returning first header value, or null if header not present.

      Parameters:
      headerGetter - A function that provides access to response HTTP Headers, never null.
      Returns:
      Map of extracted checksums, or null if none extracted.