Class AbstractSEDownloaderTask
java.lang.Object
org.gvsig.compat.se.net.downloader.se.AbstractSEDownloaderTask
- All Implemented Interfaces:
Runnable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractSEDownloaderTask(SEDownloader downloader, Executor executor, URL url, String data, File dstFile, Object groupID) AbstractSEDownloaderTask(SEDownloader downloader, Executor executor, URL url, String method, org.apache.http.entity.ContentType contenttype, String data, File dstFile, Object groupID) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThis method disables the Https certificate validation.protected voiddownload(InputStream is) protected voidprotected Executorintprotected intprotected booleanprotected voidvoidsetMaxbytes(int maxbytes)
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER -
url
-
dstFile
-
groupID
-
data
-
contenttype
protected final org.apache.http.entity.ContentType contenttype -
method
-
downloader
-
-
Constructor Details
-
AbstractSEDownloaderTask
-
AbstractSEDownloaderTask
-
-
Method Details
-
setMaxbytes
public void setMaxbytes(int maxbytes) -
getMaxbytes
public int getMaxbytes() -
download
- Throws:
IOException
-
isCanceled
protected boolean isCanceled() -
getTimeout
protected int getTimeout() -
postdownload
protected void postdownload() -
exception
-
getLastException
-
disableHttsValidation
This method disables the Https certificate validation. -
getExecutor
-