Class ResourceUploaderURLImpl
java.lang.Object
com.biglybt.pifimpl.local.utils.resourceuploader.ResourceUploaderURLImpl
- All Implemented Interfaces:
SEPasswordListener
,ResourceUploader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate InputStream
private String
private Map
private URL
private String
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ResourceUploaderURLImpl
(URL _target, InputStream _data, String _user_name, String _password) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getAuthentication
(String realm, URL tracker) getProperty
(String name) protected void
void
setAuthenticationOutcome
(String realm, URL tracker, boolean success) void
setProperty
(String name, Object value) protected void
setRequestProperties
(HttpURLConnection con, boolean use_compression) upload()
-
Field Details
-
target
-
data
-
user_name
-
password
-
properties
-
-
Constructor Details
-
ResourceUploaderURLImpl
protected ResourceUploaderURLImpl(URL _target, InputStream _data, String _user_name, String _password)
-
-
Method Details
-
setProperty
- Specified by:
setProperty
in interfaceResourceUploader
- Throws:
ResourceDownloaderException
-
getProperty
- Specified by:
getProperty
in interfaceResourceUploader
- Throws:
ResourceDownloaderException
-
upload
- Specified by:
upload
in interfaceResourceUploader
- Throws:
ResourceUploaderException
-
setRequestProperties
-
getRequestProperties
-
getAuthentication
- Specified by:
getAuthentication
in interfaceSEPasswordListener
-
setAuthenticationOutcome
- Specified by:
setAuthenticationOutcome
in interfaceSEPasswordListener
-
clearPasswords
public void clearPasswords()- Specified by:
clearPasswords
in interfaceSEPasswordListener
-