Class XChecksumChecksumExtractor
java.lang.Object
org.eclipse.aether.transport.http.ChecksumExtractor
org.eclipse.aether.transport.http.XChecksumChecksumExtractor
A component extracting
x-
non-standard style checksums from response headers.
Tried headers (in order):
x-checksum-sha1
- Maven Central and other CDNsx-checksum-md5
- Maven Central and other CDNsx-goog-meta-checksum-sha1
- GCSx-goog-meta-checksum-md5
- GCS
- Since:
- 1.8.0
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionextractChecksums
(org.apache.http.HttpResponse response) Tries to extract checksums from response headers, if present, otherwise returnsnull
.Methods inherited from class org.eclipse.aether.transport.http.ChecksumExtractor
prepareRequest, retryWithoutExtractor
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
XChecksumChecksumExtractor
public XChecksumChecksumExtractor()
-
-
Method Details
-
extractChecksums
Description copied from class:ChecksumExtractor
Tries to extract checksums from response headers, if present, otherwise returnsnull
.- Specified by:
extractChecksums
in classChecksumExtractor
-