@Contract(threading=IMMUTABLE) public class EnglishReasonPhraseCatalog extends Object implements ReasonPhraseCatalog
| Modifier and Type | Field and Description |
|---|---|
static EnglishReasonPhraseCatalog |
INSTANCE
The default instance of this catalog.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getReason(int status,
Locale loc)
Obtains the reason phrase for a status code.
|
public static final EnglishReasonPhraseCatalog INSTANCE
public String getReason(int status, Locale loc)
getReason in interface ReasonPhraseCatalogstatus - the status code, in the range 100-599loc - ignorednullCopyright © 2010 - 2020 Adobe. All Rights Reserved