Class ChecksumExtractor
- java.lang.Object
-
- org.eclipse.aether.transport.http.ChecksumExtractor
-
- Direct Known Subclasses:
Nexus2ChecksumExtractor
,XChecksumChecksumExtractor
public abstract class ChecksumExtractor extends java.lang.Object
A component extracting included checksums from response of artifact request.- Since:
- 1.8.0
-
-
Constructor Summary
Constructors Constructor Description ChecksumExtractor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.Map<java.lang.String,java.lang.String>
extractChecksums(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 Detail
-
ChecksumExtractor
public ChecksumExtractor()
-
-
Method Detail
-
prepareRequest
public void prepareRequest(org.apache.http.client.methods.HttpUriRequest request)
Prepares request, if needed.
-
retryWithoutExtractor
public boolean retryWithoutExtractor(org.apache.http.client.HttpResponseException exception)
May control is request to be retried with checksum extractors disabled.
-
extractChecksums
public abstract java.util.Map<java.lang.String,java.lang.String> extractChecksums(org.apache.http.HttpResponse response)
Tries to extract checksums from response headers, if present, otherwise returnsnull
.
-
-