Class Nexus2ChecksumExtractor
- java.lang.Object
-
- org.eclipse.aether.transport.http.ChecksumExtractor
-
- org.eclipse.aether.transport.http.Nexus2ChecksumExtractor
-
@Singleton @Named("nexus2") public class Nexus2ChecksumExtractor extends ChecksumExtractor
A component extracting Nexus2 ETag "shielded" style-checksums from response headers.- Since:
- 1.8.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description Nexus2ChecksumExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
.-
Methods inherited from class org.eclipse.aether.transport.http.ChecksumExtractor
prepareRequest, retryWithoutExtractor
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
extractChecksums
public java.util.Map<java.lang.String,java.lang.String> extractChecksums(org.apache.http.HttpResponse response)
Description copied from class:ChecksumExtractor
Tries to extract checksums from response headers, if present, otherwise returnsnull
.- Specified by:
extractChecksums
in classChecksumExtractor
-
-