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

All Implemented Interfaces:
    HttpResponseFactory

Default factory for creating HttpResponse objects.
Field Summary
protected final  ReasonPhraseCatalog reasonCatalog    The catalog for looking up reason phrases. 
Constructor:
 public DefaultHttpResponseFactory() 
 public DefaultHttpResponseFactory(ReasonPhraseCatalog catalog) 
    Creates a new response factory with the given catalog.
    Parameters:
    catalog - the catalog of reason phrases
Method from org.apache.http.impl.DefaultHttpResponseFactory Summary:
determineLocale,   newHttpResponse,   newHttpResponse
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.http.impl.DefaultHttpResponseFactory Detail:
 protected Locale determineLocale(HttpContext context) 
    Determines the locale of the response. The implementation in this class always returns the default locale.
 public HttpResponse newHttpResponse(StatusLine statusline,
    HttpContext context) 
 public HttpResponse newHttpResponse(ProtocolVersion ver,
    int status,
    HttpContext context)