artiya4u / google-http-java-client

Automatically exported from code.google.com/p/google-http-java-client
0 stars 0 forks source link

Add HttpResponseException.getStatusMessage() #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://javadoc.google-http-java-client.googlecode.com/hg/1.8.3-beta/com/google/a
pi/client/http/HttpResponseException.html

Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?

All

Please describe the feature requested.

Reported by dar...@google.com, Today (2 hours ago)
HttpResponseException already has a getStatusCode().  It would be nice to also 
be able to getStatusMessage().

e.g.: in the case of a "401 Unauthorized" response, 
getStatusCode() would return 401, and
getStatusMessage() would return "Unauthorized".

Original issue reported on code.google.com by yan...@google.com on 23 Apr 2012 at 11:04

GoogleCodeExporter commented 9 years ago
http://codereview.appspot.com/6099052/

Original comment by rmis...@google.com on 26 Apr 2012 at 5:32