GREAT!
Thank you very much Oleg On Tue, Dec 9, 2014 at 3:58 PM, Oleg Kalnichevski <[email protected]> wrote: > On Mon, 2014-12-08 at 19:38 +0200, Avi Hayun wrote: > > 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 ? > > ReasonPhraseCatalog#getReason > > Oleg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
