public interface ReasonPhraseCatalog
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getReason(int status,
java.util.Locale loc)
Obtains the reason phrase for a status code.
|
java.lang.String getReason(int status,
java.util.Locale loc)
status - the status code, in the range 100-599loc - the preferred locale for the reason phrasenull if unknown