Class NativeDataLoaderCall
java.lang.Object
eu.europa.esig.dss.spi.client.http.NativeDataLoaderCall
- All Implemented Interfaces:
Callable<byte[]>
Deprecated.
The call of native java DataLoader using the java.net.URL class.
-
Constructor Summary
ConstructorsConstructorDescriptionNativeDataLoaderCall(String url, byte[] content, boolean useCaches, int maxInputSize) Deprecated.since DSS 6.4.NativeDataLoaderCall(String url, byte[] content, boolean useCaches, int maxInputSize, int connectTimeout, int readTimeout) Deprecated.since DSS 6.4. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]call()Deprecated.protected URLConnectionDeprecated.Creates connection
-
Constructor Details
-
NativeDataLoaderCall
@Deprecated public NativeDataLoaderCall(String url, byte[] content, boolean useCaches, int maxInputSize) Deprecated.since DSS 6.4. Please useeu.europa.esig.dss.spi.client.http.NativeHTTPDataLoaderCallclass instead.Constructor with unconfigured timeout- Parameters:
url-Stringcontent- byte arrayuseCaches- if the caches shall be usedmaxInputSize- maximum InputStream size
-
NativeDataLoaderCall
@Deprecated public NativeDataLoaderCall(String url, byte[] content, boolean useCaches, int maxInputSize, int connectTimeout, int readTimeout) Deprecated.since DSS 6.4. Please useeu.europa.esig.dss.spi.client.http.NativeHTTPDataLoaderCallclass instead.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
-
eu.europa.esig.dss.spi.client.http.NativeHTTPDataLoaderCallclass instead.