public class DownloadHandlerImpl extends ComponentBase implements DownloadHandler
Constructor and Description |
---|
DownloadHandlerImpl(java.io.File dataLocation) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getDataLocation() |
DownloadHandle |
getHandle(java.net.URL url)
Returns a
DownloadHandle for a given URL. |
getAgentContext, getAgentUpdateHandler, getConfigurationHandler, getConnectionHandler, getDeploymentHandler, getDiscoveryHandler, getDownloadHandler, getEventsHandler, getExecutorService, getFeedbackHandler, getIdentificationHandler, getLoggingHandler, getWorkDir, init, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, onInit, onStart, onStop, start, stop
public java.io.File getDataLocation()
public DownloadHandle getHandle(java.net.URL url)
DownloadHandler
DownloadHandle
for a given URL.getHandle
in interface DownloadHandler
url
- The url to create a download handle for, cannot be null
.DownloadHandle
instance, never null
.