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 DownloaderManagerUnsupportedOperationExceptionpublic DownloaderAuthentication createAuthentication(String host, int port, String user, String password)
createAuthentication in interface DownloaderManagerpublic void createDownloader(File target, URL url, String postdata) throws UnsupportedOperationException
createDownloader in interface DownloaderManagerUnsupportedOperationExceptionpublic List<DownloaderAuthentication> getAuthentications()
getAuthentications in interface DownloaderManagerpublic List<DownloaderProcess> getDownloads() throws UnsupportedOperationException
getDownloads in interface DownloaderManagerUnsupportedOperationExceptionpublic void setAuthentications(List<DownloaderAuthentication> authentications)
setAuthentications in interface DownloaderManagerpublic CredentialsProvider getCredentialsProvider(String host)
getCredentialsProvider in interface DownloaderManager