org.apache.http.ReasonPhraseCatalog |
Known Indirect Subclasses |
This interface is deprecated.
Please use openConnection()
instead.
Please visit this webpage
for further details.
Interface for obtaining reason phrases for HTTP status codes.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtains the reason phrase for a status code.
|
Obtains the reason phrase for a status code. The optional context allows for catalogs that detect the language for the reason phrase.
status | the status code, in the range 100-599 |
---|---|
loc | the preferred locale for the reason phrase |
null
if unknown