Interface LiveImportClient
-
- All Known Implementing Classes:
LiveImportClientImpl
public interface LiveImportClientInterface for classes that allow to contact LiveImport clients.- Author:
- Mykhaylo Boychuk (mykhaylo.boychuk at 4science.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringexecuteHttpGetRequest(int timeout, String URL, Map<String,Map<String,String>> params)Http GET requestStringexecuteHttpPostRequest(String URL, Map<String,Map<String,String>> params, String entry)Http POST request
-
-
-
Method Detail
-
executeHttpGetRequest
String executeHttpGetRequest(int timeout, String URL, Map<String,Map<String,String>> params)
Http GET request- Parameters:
timeout- The connect timeout in millisecondsURL- URLparams- 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- URLparams- 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
-
-