返回的response : HTTP/1.1 200 OK [Server: Apache-Coyote/1.1, Pragma: No-cache, Cache-Control: no-cache, Expires: Thu, 01 Jan 1970 00:00:00 GMT, Content-Type: application/json;charset=UTF-8, Transfer-Encoding: chunked, Date: Thu, 07 Jun 2018 03:08:18 GMT] org.apache.http.conn.BasicManagedEntity@56803e05
返回的response中的resEntity :
{"chunked":true,"content":{},"contentLength":-1,"contentType":{"buffer":{"empty":false,"full":false},"elements":[{"name":"application/json","parameterCount":1,"parameters":[{"name":"charset","value":"UTF-8"}]}],"name":"Content-Type","value":"application/json;charset=UTF-8","valuePos":13},"repeatable":false,"streaming":true}
这是请求方法 HttpResponse response = httpClient.execute(httpPost);