public interface TransferResource
Modifier and Type | Method and Description |
---|---|
long |
getContentLength()
The size of the resource in bytes.
|
File |
getFile()
Gets the local file being uploaded or downloaded.
|
String |
getRepositoryUrl()
The base URL of the repository, e.g.
|
String |
getResourceName()
The path of the resource relative to the repository's base URL, e.g.
|
RequestTrace |
getTrace()
Gets the trace information that describes the higher level request/operation during which this resource is
transferred.
|
long |
getTransferStartTime()
Gets the timestamp when the transfer of this resource was started.
|
String getRepositoryUrl()
null
.String getResourceName()
null
.File getFile()
null
if none.long getContentLength()
started
.long getTransferStartTime()
RequestTrace getTrace()
null
if none.Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.