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 java.lang.Object
- implements ResourceUploader, SEPasswordListener
Constructor Summary |
protected |
ResourceUploaderURLImpl(java.net.URL _target,
java.io.InputStream _data,
java.lang.String _user_name,
java.lang.String _password)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceUploaderURLImpl
protected ResourceUploaderURLImpl(java.net.URL _target,
java.io.InputStream _data,
java.lang.String _user_name,
java.lang.String _password)
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws ResourceDownloaderException
- Specified by:
setProperty
in interface ResourceUploader
- Throws:
ResourceDownloaderException
getProperty
public java.lang.Object getProperty(java.lang.String name)
throws ResourceDownloaderException
- Specified by:
getProperty
in interface ResourceUploader
- Throws:
ResourceDownloaderException
upload
public java.io.InputStream upload()
throws ResourceUploaderException
- Specified by:
upload
in interface ResourceUploader
- Throws:
ResourceUploaderException
setRequestProperties
protected void setRequestProperties(java.net.HttpURLConnection con,
boolean use_compression)
getRequestProperties
protected void getRequestProperties(java.net.HttpURLConnection con)
getAuthentication
public java.net.PasswordAuthentication getAuthentication(java.lang.String realm,
java.net.URL tracker)
- Specified by:
getAuthentication
in interface SEPasswordListener
setAuthenticationOutcome
public void setAuthenticationOutcome(java.lang.String realm,
java.net.URL tracker,
boolean success)
- Specified by:
setAuthenticationOutcome
in interface SEPasswordListener
clearPasswords
public void clearPasswords()
- Specified by:
clearPasswords
in interface SEPasswordListener