Package | Description |
---|---|
org.eclipse.aether.connector.basic |
Support for downloads/uploads using remote repositories that have a URI-based content structure/layout.
|
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 |
---|---|
private TransferResource |
BasicRepositoryConnector.newTransferResource(java.net.URI path,
java.io.File file,
RequestTrace trace) |
Modifier and Type | Method and Description |
---|---|
private ChecksumPolicy |
BasicRepositoryConnector.newChecksumPolicy(java.lang.String policy,
TransferResource resource) |
private TransferEvent.Builder |
BasicRepositoryConnector.newEventBuilder(TransferResource resource,
boolean upload,
boolean peek) |
Modifier and Type | Field and Description |
---|---|
protected TransferResource |
AbstractChecksumPolicy.resource |
Modifier and Type | Method and Description |
---|---|
ChecksumPolicy |
DefaultChecksumPolicyProvider.newChecksumPolicy(RepositorySystemSession session,
RemoteRepository repository,
TransferResource resource,
java.lang.String policy) |
Constructor and Description |
---|
AbstractChecksumPolicy(LoggerFactory loggerFactory,
TransferResource resource) |
FailChecksumPolicy(LoggerFactory loggerFactory,
TransferResource resource) |
WarnChecksumPolicy(LoggerFactory loggerFactory,
TransferResource resource) |
Modifier and Type | Method and Description |
---|---|
ChecksumPolicy |
ChecksumPolicyProvider.newChecksumPolicy(RepositorySystemSession session,
RemoteRepository repository,
TransferResource resource,
java.lang.String policy)
Retrieves the checksum policy with the specified identifier for use on the given remote resource.
|
Modifier and Type | Field and Description |
---|---|
private TransferResource |
TransferEvent.resource |
(package private) TransferResource |
TransferEvent.Builder.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.
|