@Immutable public class EnglishReasonPhraseCatalogHC4 extends java.lang.Object implements org.apache.http.ReasonPhraseCatalog
| Modifier and Type | Field and Description |
|---|---|
static EnglishReasonPhraseCatalogHC4 |
INSTANCE
The default instance of this catalog.
|
| Modifier | Constructor and Description |
|---|---|
protected |
EnglishReasonPhraseCatalogHC4()
Restricted default constructor, for derived classes.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getReason(int status,
java.util.Locale loc)
Obtains the reason phrase for a status code.
|
public static final EnglishReasonPhraseCatalogHC4 INSTANCE
protected EnglishReasonPhraseCatalogHC4()
INSTANCE.public java.lang.String getReason(int status,
java.util.Locale loc)
getReason in interface org.apache.http.ReasonPhraseCatalogstatus - the status code, in the range 100-599loc - ignorednullCopyright © 1999-2015 The Apache Software Foundation. All rights reserved.