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