org.apache.http
Interface HttpRequestFactory

All Known Implementing Classes:
DefaultHttpRequestFactory

public interface HttpRequestFactory

A factory for HttpRequest objects.

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

Method Summary
 HttpRequest newHttpRequest(RequestLine requestline)
           
 HttpRequest newHttpRequest(java.lang.String method, java.lang.String uri)
           
 

Method Detail

newHttpRequest

HttpRequest newHttpRequest(RequestLine requestline)
                           throws MethodNotSupportedException
Throws:
MethodNotSupportedException

newHttpRequest

HttpRequest newHttpRequest(java.lang.String method,
                           java.lang.String uri)
                           throws MethodNotSupportedException
Throws:
MethodNotSupportedException


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