| org.apache.http.ReasonPhraseCatalog
All known Subclasses: org.apache.http.impl.EnglishReasonPhraseCatalog,
ReasonPhraseCatalog | public interface ReasonPhraseCatalog (Code) | | Interface for obtaining reason phrases for HTTP status codes.
author: Roland Weber author: version: $Revision: 505744 $ since: 4.0 |
Method Summary | |
public String | getReason(int status, Locale loc) Obtains the reason phrase for a status code. |
getReason | public String getReason(int status, Locale loc)(Code) | | Obtains the reason phrase for a status code.
The optional context allows for catalogs that detect
the language for the reason phrase.
Parameters: status - the status code, in the range 100-599 Parameters: loc - the preferred locale for the reason phrase the reason phrase, or null if unknown |
|
|