|
|
|
@@ -219,6 +219,10 @@ public class BoLinkUtil { |
|
|
|
|
|
|
|
//打印StatusLine |
|
|
|
logger.debug("StatusLine: " + response.getStatusLine()); |
|
|
|
if (response.getStatusLine().getStatusCode() != 200) { |
|
|
|
logger.error("status error: " + response.getStatusLine().getReasonPhrase()); |
|
|
|
throw new MallinkException(ErrorCode.CAR_CMD_FAIL); |
|
|
|
} |
|
|
|
try{ |
|
|
|
//获取实体 |
|
|
|
HttpEntity httpEntity= response.getEntity(); |
|
|
|
|