Interface ChecksumExtractor
- All Known Implementing Classes:
DefaultChecksumExtractor
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 Summary
-
Method Details
-
extractChecksums
Extract checksums using given getter, if possible, ornull
.The supplied
headerGetter
function should provide access to given transport response HTTP Headers in some common way, like for example returning first header value, ornull
if header not present.- Parameters:
headerGetter
- A function that provides access to response HTTP Headers, nevernull
.- Returns:
- Map of extracted checksums, or
null
if none extracted.
-