List<String> reply = new ArrayList<String>();
BufferedReader response = null;
try {
- response = HttpClientUtils.doHttpUrlPost(restUrl,
- commands);
+ response = HttpClientUtils
+ .doHttpUrlPost(restUrl, commands, 100, 2000);
String line = "";
while ((line = response.readLine()) != null) {
reply.add(line);