org.gudy.azureus2.pluginsimpl.local.utils.resourceuploader
Class ResourceUploaderURLImpl
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.utils.resourceuploader.ResourceUploaderURLImpl
- All Implemented Interfaces:
- SEPasswordListener, ResourceUploader
public class ResourceUploaderURLImpl
- extends Object
- implements ResourceUploader, SEPasswordListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceUploaderURLImpl
protected ResourceUploaderURLImpl(URL _target,
InputStream _data,
String _user_name,
String _password)
setProperty
public void setProperty(String name,
Object value)
throws ResourceDownloaderException
- Specified by:
setProperty
in interface ResourceUploader
- Throws:
ResourceDownloaderException
getProperty
public Object getProperty(String name)
throws ResourceDownloaderException
- Specified by:
getProperty
in interface ResourceUploader
- Throws:
ResourceDownloaderException
upload
public InputStream upload()
throws ResourceUploaderException
- Specified by:
upload
in interface ResourceUploader
- Throws:
ResourceUploaderException
setRequestProperties
protected void setRequestProperties(HttpURLConnection con,
boolean use_compression)
getRequestProperties
protected void getRequestProperties(HttpURLConnection con)
getAuthentication
public PasswordAuthentication getAuthentication(String realm,
URL tracker)
- Specified by:
getAuthentication
in interface SEPasswordListener
setAuthenticationOutcome
public void setAuthenticationOutcome(String realm,
URL tracker,
boolean success)
- Specified by:
setAuthenticationOutcome
in interface SEPasswordListener
clearPasswords
public void clearPasswords()
- Specified by:
clearPasswords
in interface SEPasswordListener