public interface ReasonPhraseCatalog
Modifier and Type | Method and Description |
---|---|
String |
getReason(int status,
Locale loc)
Obtains the reason phrase for a status code.
|
String getReason(int status, Locale loc)
status
- the status code, in the range 100-599loc
- the preferred locale for the reason phrasenull
if unknownCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.