| Package | Description |
|---|---|
| org.eclipse.aether.spi.connector.transport |
The contract to download/upload URI-based resources using custom transport protocols.
|
| Modifier and Type | Method | Description |
|---|---|---|
GetTask |
GetTask.setChecksum(java.lang.String algorithm,
java.lang.String value) |
Sets a checksum which the remote repository advertises for the resource.
|
GetTask |
GetTask.setDataFile(java.io.File dataFile) |
Sets the file where the downloaded data should be stored.
|
GetTask |
GetTask.setDataFile(java.io.File dataFile,
boolean resume) |
Sets the file where the downloaded data should be stored.
|
GetTask |
GetTask.setListener(TransportListener listener) |
Sets the listener that is to be notified during the transfer.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
AbstractTransporter.get(GetTask task) |
|
void |
Transporter.get(GetTask task) |
Downloads a resource from the repository.
|
protected abstract void |
AbstractTransporter.implGet(GetTask task) |
Implements
AbstractTransporter.get(GetTask), gets only called if the transporter has not been closed. |
protected void |
AbstractTransporter.utilGet(GetTask task,
java.io.InputStream is,
boolean close,
long length,
boolean resume) |
Performs stream-based I/O for the specified download task and notifies the configured transport listener.
|