Class Nx2ChecksumExtractor
java.lang.Object
org.eclipse.aether.spi.connector.transport.http.ChecksumExtractorStrategy
org.eclipse.aether.internal.impl.transport.http.Nx2ChecksumExtractor
Sonatype Nexus2 checksum extractor.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
Nx2ChecksumExtractor
public Nx2ChecksumExtractor()
-
-
Method Details
-
extractChecksums
Description copied from class:ChecksumExtractorStrategy
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.- Overrides:
extractChecksums
in classChecksumExtractorStrategy
- Parameters:
headerGetter
- A function that provides access to response HTTP Headers, nevernull
.- Returns:
- Map of extracted checksums, or
null
if none extracted.
-