org.apache.http.impl
Class DefaultHttpRequestFactory

java.lang.Object
  extended byorg.apache.http.impl.DefaultHttpRequestFactory
All Implemented Interfaces:
HttpRequestFactory

public class DefaultHttpRequestFactory
extends java.lang.Object
implements HttpRequestFactory

Default implementation of a factory for creating request objects.

Since:
4.0
Version:
$Revision: 496072 $
Author:
Oleg Kalnichevski

Constructor Summary
DefaultHttpRequestFactory()
           
 
Method Summary
 HttpRequest newHttpRequest(RequestLine requestline)
           
 HttpRequest newHttpRequest(java.lang.String method, java.lang.String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultHttpRequestFactory

public DefaultHttpRequestFactory()
Method Detail

newHttpRequest

public HttpRequest newHttpRequest(RequestLine requestline)
                           throws MethodNotSupportedException
Specified by:
newHttpRequest in interface HttpRequestFactory
Throws:
MethodNotSupportedException

newHttpRequest

public HttpRequest newHttpRequest(java.lang.String method,
                                  java.lang.String uri)
                           throws MethodNotSupportedException
Specified by:
newHttpRequest in interface HttpRequestFactory
Throws:
MethodNotSupportedException


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.