Interface LiveImportClient

All Known Implementing Classes:
LiveImportClientImpl

public interface LiveImportClient
Interface for classes that allow to contact LiveImport clients.
Author:
Mykhaylo Boychuk (mykhaylo.boychuk at 4science.com)
  • Method Details

    • executeHttpGetRequest

      String executeHttpGetRequest(int timeout, String URL, Map<String,Map<String,String>> params)
      Http GET request
      Parameters:
      timeout - The connect timeout in milliseconds
      URL - URL
      params - This map contains the parameters to be included in the request. Each parameter will be added to the url?(key=value)
      Returns:
      The response in String type converted from InputStream
    • executeHttpPostRequest

      String executeHttpPostRequest(String URL, Map<String,Map<String,String>> params, String entry)
      Http POST request
      Parameters:
      URL - URL
      params - This map contains the header params to be included in the request.
      entry - the entity value
      Returns:
      the response in String type converted from InputStream