diff options
Diffstat (limited to 'wfenginemgrservice/src/main')
-rw-r--r-- | wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java b/wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java index 4d92dcb..e90da7c 100644 --- a/wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java +++ b/wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java @@ -243,7 +243,7 @@ public class RestClient { httpPost.setHeader("Content-type", "application/json");
httpPost.setHeader(Constants.AUTHORIZATION, ToolUtil.getHeader());
httpPost.setEntity(requestEntity);
- returnValue = httpClient.execute(httpPost, responseHandler); // 调接口获取返回值时,必须用此方法
+// returnValue = httpClient.execute(httpPost, responseHandler); // 调接口获取返回值时,必须用此方法
CloseableHttpResponse httpResonse = httpClient.execute(httpPost);
if (httpResonse != null && httpResonse.getStatusLine() != null) {
int statusCode = httpResonse.getStatusLine().getStatusCode();
|