Class ChecksumExtractor
java.lang.Object
org.eclipse.aether.transport.http.ChecksumExtractor
- Direct Known Subclasses:
Nexus2ChecksumExtractor
,XChecksumChecksumExtractor
A component extracting included checksums from response of artifact request.
- Since:
- 1.8.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionextractChecksums
(org.apache.http.HttpResponse response) Tries to extract checksums from response headers, if present, otherwise returnsnull
.void
prepareRequest
(org.apache.http.client.methods.HttpUriRequest request) Prepares request, if needed.boolean
retryWithoutExtractor
(org.apache.http.client.HttpResponseException exception) May control is request to be retried with checksum extractors disabled.
-
Constructor Details
-
ChecksumExtractor
public ChecksumExtractor()
-
-
Method Details
-
prepareRequest
Prepares request, if needed. -
retryWithoutExtractor
May control is request to be retried with checksum extractors disabled. -
extractChecksums
Tries to extract checksums from response headers, if present, otherwise returnsnull
.
-