| 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 |
|---|---|---|
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 | Description |
|---|---|---|
protected abstract void |
AbstractTransporter.implPut(PutTask task) |
Implements
AbstractTransporter.put(PutTask), gets only called if the transporter has not been closed. |
void |
AbstractTransporter.put(PutTask task) |
|
void |
Transporter.put(PutTask task) |
Uploads a resource to the repository.
|
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.
|