java.lang.Object
org.apache.http.impl.DefaultHttpResponseFactory
- All Implemented Interfaces:
- org.apache.http.HttpResponseFactory
- public class DefaultHttpResponseFactory
- extends java.lang.Object
- implements org.apache.http.HttpResponseFactory
Default implementation of a factory for creating response objects.
- Since:
- 4.0
- Version:
- $Revision: 378645 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHttpResponseFactory
public DefaultHttpResponseFactory()
newHttpResponse
public org.apache.http.HttpResponse newHttpResponse(org.apache.http.HttpVersion ver,
int status)
- Specified by:
newHttpResponse in interface org.apache.http.HttpResponseFactory
newHttpResponse
public org.apache.http.HttpResponse newHttpResponse(org.apache.http.StatusLine statusline)
- Specified by:
newHttpResponse in interface org.apache.http.HttpResponseFactory