Home » HttpComponents-Core-4.0.1 » org.apache.http.impl » [javadoc | source]
org.apache.http.impl
public class: EnglishReasonPhraseCatalog [javadoc | source]
java.lang.Object
   org.apache.http.impl.EnglishReasonPhraseCatalog

All Implemented Interfaces:
    ReasonPhraseCatalog

English reason phrases for HTTP status codes. All status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), and RFC2518 (WebDAV) are supported.
Field Summary
public static final  EnglishReasonPhraseCatalog INSTANCE    The default instance of this catalog. This catalog is thread safe, so there typically is no need to create other instances. 
Constructor:
 protected EnglishReasonPhraseCatalog() 
Method from org.apache.http.impl.EnglishReasonPhraseCatalog Summary:
getReason
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.http.impl.EnglishReasonPhraseCatalog Detail:
 public String getReason(int status,
    Locale loc) 
    Obtains the reason phrase for a status code.