public interface ReasonPhraseCatalog
Modifier and Type | Method and Description |
---|---|
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