Class NativeDataLoaderCall
java.lang.Object
eu.europa.esig.dss.spi.client.http.NativeDataLoaderCall
-
Constructor Summary
ConstructorsConstructorDescriptionNativeDataLoaderCall(String url, byte[] content, boolean useCaches, int maxInputSize) Constructor with unconfigured timeoutNativeDataLoaderCall(String url, byte[] content, boolean useCaches, int maxInputSize, int connectTimeout, int readTimeout) Constructor with configured timeouts -
Method Summary
-
Constructor Details
-
NativeDataLoaderCall
-
NativeDataLoaderCall
public NativeDataLoaderCall(String url, byte[] content, boolean useCaches, int maxInputSize, int connectTimeout, int readTimeout) Constructor with configured timeouts- Parameters:
url-Stringcontent- byte arrayuseCaches- if the caches shall be usedmaxInputSize- maximum InputStream sizeconnectTimeout- timeout on opening a connection (in milliseconds)readTimeout- timeout on reading a response from a remote resource (in milliseconds)
-
-
Method Details
-
call
-
createConnection
Creates connection- Returns:
URLConnection- Throws:
IOException- if IOException occurred
-