public class HttpClientDownloaderManager extends Object implements DownloaderManager
Constructor and Description |
---|
HttpClientDownloaderManager() |
Modifier and Type | Method and Description |
---|---|
DownloaderAuthentication |
createAuthentication(String host,
int port,
String user,
String password) |
void |
createDownloader(File target,
URL url,
String postdata) |
DownloaderProcess |
download(File target,
URL url,
String postdata) |
List<DownloaderAuthentication> |
getAuthentications() |
CredentialsProvider |
getCredentialsProvider(String host) |
List<DownloaderProcess> |
getDownloads() |
void |
setAuthentications(List<DownloaderAuthentication> authentications) |
public DownloaderProcess download(File target, URL url, String postdata) throws UnsupportedOperationException
download
in interface DownloaderManager
UnsupportedOperationException
public DownloaderAuthentication createAuthentication(String host, int port, String user, String password)
createAuthentication
in interface DownloaderManager
public void createDownloader(File target, URL url, String postdata) throws UnsupportedOperationException
createDownloader
in interface DownloaderManager
UnsupportedOperationException
public List<DownloaderAuthentication> getAuthentications()
getAuthentications
in interface DownloaderManager
public List<DownloaderProcess> getDownloads() throws UnsupportedOperationException
getDownloads
in interface DownloaderManager
UnsupportedOperationException
public void setAuthentications(List<DownloaderAuthentication> authentications)
setAuthentications
in interface DownloaderManager
public CredentialsProvider getCredentialsProvider(String host)
getCredentialsProvider
in interface DownloaderManager