@Immutable public class EnglishReasonPhraseCatalog extends Object implements ReasonPhraseCatalog
Modifier and Type | Field and Description |
---|---|
static EnglishReasonPhraseCatalog |
INSTANCE
The default instance of this catalog.
|
Modifier | Constructor and Description |
---|---|
protected |
EnglishReasonPhraseCatalog()
Restricted default constructor, for derived classes.
|
public static final EnglishReasonPhraseCatalog INSTANCE
protected EnglishReasonPhraseCatalog()
INSTANCE
.public String getReason(int status, Locale loc)
getReason
in interface ReasonPhraseCatalog
status
- the status code, in the range 100-599loc
- ignorednull
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.