Package | Description |
---|---|
org.eclipse.aether.spi.connector.transport |
The contract to download/upload URI-based resources using custom transport protocols.
|
org.eclipse.aether.transport.wagon |
Support for downloads/uploads using Apache Maven Wagon.
|
Modifier and Type | Method and Description |
---|---|
PutTask |
PutTask.setDataBytes(byte[] bytes)
Sets the binary data to be uploaded.
|
PutTask |
PutTask.setDataFile(java.io.File dataFile)
Sets the file with the data to be uploaded.
|
PutTask |
PutTask.setDataString(java.lang.String str)
Sets the textual data to be uploaded.
|
PutTask |
PutTask.setListener(TransportListener listener)
Sets the listener that is to be notified during the transfer.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractTransporter.implPut(PutTask task)
Implements
AbstractTransporter.put(PutTask) , gets only called if the transporter has not been closed. |
void |
Transporter.put(PutTask task)
Uploads a resource to the repository.
|
void |
AbstractTransporter.put(PutTask task) |
protected void |
AbstractTransporter.utilPut(PutTask task,
java.io.OutputStream os,
boolean close)
Performs stream-based I/O for the specified upload task and notifies the configured transport listener.
|
Modifier and Type | Field and Description |
---|---|
private PutTask |
WagonTransporter.PutTaskRunner.task |
Modifier and Type | Method and Description |
---|---|
void |
WagonTransporter.put(PutTask task) |
Constructor and Description |
---|
PutTaskRunner(PutTask task) |