hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avi Hayun <avrah...@gmail.com>
Subject HttpStatus Text Description
Date Mon, 08 Dec 2014 17:38:22 GMT
Hi,

In HttpClient v3 there was a method which translated the status code to the
text message:
*getStatusText
<https://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html#getStatusText(int)>*


What is the equivalent in HttpComponent-client  (v4) ?


I see the ENUM of statusCode:
https://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/HttpStatus.html


But how do I get the text description ?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message