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