public class HttpHelper extends Object
| Constructor and Description |
|---|
HttpHelper(String serviceURL) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRequest(String restPath,
List<org.apache.http.NameValuePair> params) |
String |
postInBody(String restPath,
String bodyContent) |
Pair<String,String> |
postRequest(String restPath,
List<org.apache.http.NameValuePair> params) |
Pair<String,String> |
postRequestWithParams(String restPath,
List<org.apache.http.NameValuePair> params) |
public HttpHelper(String serviceURL)
serviceURL - public String getRequest(String restPath, List<org.apache.http.NameValuePair> params)
restPath - params - public Pair<String,String> postRequest(String restPath, List<org.apache.http.NameValuePair> params)
restPath - params - Copyright © 2016. All rights reserved.