Class ChecksumExtractor

java.lang.Object
org.eclipse.aether.transport.http.ChecksumExtractor
Direct Known Subclasses:
Nexus2ChecksumExtractor, XChecksumChecksumExtractor

public abstract class ChecksumExtractor extends Object
A component extracting included checksums from response of artifact request.
Since:
1.8.0
  • Constructor Details

  • Method Details

    • 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 Map<String,String> extractChecksums(org.apache.http.HttpResponse response)
      Tries to extract checksums from response headers, if present, otherwise returns null.