Package | Description |
---|---|
org.eclipse.aether.internal.impl |
The various sub components that collectively implement the repository system.
|
org.eclipse.aether.spi.connector.checksum |
The support infrastructure for repository connectors to apply checksum policies when validating the integrity of
downloaded files.
|
org.eclipse.aether.transfer |
A listener and various exception types dealing with the transfer of a resource between the local system and a remote
repository.
|
Modifier and Type | Method and Description |
---|---|
ChecksumPolicy |
DefaultChecksumPolicyProvider.newChecksumPolicy(RepositorySystemSession session,
RemoteRepository repository,
TransferResource resource,
String policy) |
Modifier and Type | Method and Description |
---|---|
ChecksumPolicy |
ChecksumPolicyProvider.newChecksumPolicy(RepositorySystemSession session,
RemoteRepository repository,
TransferResource resource,
String policy)
Retrieves the checksum policy with the specified identifier for use on the given remote resource.
|
Modifier and Type | Method and Description |
---|---|
TransferResource |
TransferEvent.getResource()
Gets the resource that is being transferred.
|
TransferResource |
TransferResource.setContentLength(long contentLength)
Sets the size of the resource in bytes.
|
TransferResource |
TransferResource.setResumeOffset(long resumeOffset)
Sets the byte offset within the resource at which the download starts.
|
Constructor and Description |
---|
Builder(RepositorySystemSession session,
TransferResource resource)
Creates a new transfer event builder for the specified session and the given resource.
|
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.