Class NativeDataLoaderCall

java.lang.Object
eu.europa.esig.dss.spi.client.http.NativeDataLoaderCall
All Implemented Interfaces:
Callable<byte[]>

public class NativeDataLoaderCall extends Object implements Callable<byte[]>
The call of native java DataLoader using the java.net.URL class.
  • Constructor Details

    • NativeDataLoaderCall

      public NativeDataLoaderCall(String url, byte[] content, boolean useCaches, int maxInputSize)
      Constructor with unconfigured timeout
      Parameters:
      url - String
      content - byte array
      useCaches - if the caches shall be used
      maxInputSize - maximum InputStream size
    • NativeDataLoaderCall

      public NativeDataLoaderCall(String url, byte[] content, boolean useCaches, int maxInputSize, int connectTimeout, int readTimeout)
      Constructor with configured timeouts
      Parameters:
      url - String
      content - byte array
      useCaches - if the caches shall be used
      maxInputSize - maximum InputStream size
      connectTimeout - timeout on opening a connection (in milliseconds)
      readTimeout - timeout on reading a response from a remote resource (in milliseconds)
  • Method Details