Home » HttpComponents-Core-4.0.1 » org.apache.http » [javadoc | source]
org.apache.http
public interface: HttpResponseFactory [javadoc | source]

All Known Implementing Classes:
    DefaultHttpResponseFactory

A factory for HttpResponse objects.
Method from org.apache.http.HttpResponseFactory Summary:
newHttpResponse,   newHttpResponse
Method from org.apache.http.HttpResponseFactory Detail:
 public HttpResponse newHttpResponse(StatusLine statusline,
    HttpContext context)
    Creates a new response from a status line.
 public HttpResponse newHttpResponse(ProtocolVersion ver,
    int status,
    HttpContext context)
    Creates a new response from status line elements.