Uses of Class
org.eclipse.aether.spi.connector.transport.PutTask
Package
Description
The contract to download/upload URI-based resources using custom transport protocols.
-
Uses of PutTask in org.eclipse.aether.spi.connector.transport
Modifier and TypeMethodDescriptionPutTask.setDataBytes
(byte[] bytes) Sets the binary data to be uploaded.PutTask.setDataFile
(File dataFile) Sets the file with the data to be uploaded.PutTask.setDataString
(String str) Sets the textual data to be uploaded.PutTask.setListener
(TransportListener listener) Sets the listener that is to be notified during the transfer.Modifier and TypeMethodDescriptionprotected abstract void
ImplementsAbstractTransporter.put(PutTask)
, gets only called if the transporter has not been closed.void
void
Uploads a resource to the repository.protected void
AbstractTransporter.utilPut
(PutTask task, OutputStream os, boolean close) Performs stream-based I/O for the specified upload task and notifies the configured transport listener.