@Singleton @Named(value="x-checksum") public class XChecksumChecksumExtractor extends ChecksumExtractor
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| Constructor and Description |
|---|
XChecksumChecksumExtractor() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
extractChecksums(org.apache.http.HttpResponse response)
Tries to extract checksums from response headers, if present, otherwise returns
null. |
prepareRequest, retryWithoutExtractorpublic static final String NAME
public XChecksumChecksumExtractor()
public Map<String,String> extractChecksums(org.apache.http.HttpResponse response)
ChecksumExtractornull.extractChecksums in class ChecksumExtractorCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.