Package | Description |
---|---|
org.eclipse.aether.transfer |
A listener and various exception types dealing with the transfer of a resource between the local system and a remote
repository.
|
Modifier and Type | Method and Description |
---|---|
TransferEvent.Builder |
TransferEvent.Builder.addTransferredBytes(long transferredBytes)
Increments the total number of bytes that have been transferred so far during the download/upload.
|
TransferEvent.Builder |
TransferEvent.Builder.copy()
Creates a new transfer event builder from the current values of this builder.
|
TransferEvent.Builder |
TransferEvent.Builder.resetType(TransferEvent.EventType type)
Sets the type of the event and resets event-specific fields.
|
TransferEvent.Builder |
TransferEvent.Builder.setDataBuffer(byte[] buffer,
int offset,
int length)
Sets the byte buffer holding the transferred bytes since the last event.
|
TransferEvent.Builder |
TransferEvent.Builder.setDataBuffer(ByteBuffer dataBuffer)
Sets the byte buffer holding the transferred bytes since the last event.
|
TransferEvent.Builder |
TransferEvent.Builder.setException(Exception exception)
Sets the error that occurred during the transfer.
|
TransferEvent.Builder |
TransferEvent.Builder.setRequestType(TransferEvent.RequestType requestType)
Sets the type of the request/transfer.
|
TransferEvent.Builder |
TransferEvent.Builder.setTransferredBytes(long transferredBytes)
Sets the total number of bytes that have been transferred so far during the download/upload of the resource.
|
TransferEvent.Builder |
TransferEvent.Builder.setType(TransferEvent.EventType type)
Sets the type of the event.
|
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.