Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.http.impl
Class DefaultHttpRequestFactory  view DefaultHttpRequestFactory download DefaultHttpRequestFactory.java

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

public class DefaultHttpRequestFactory
extends java.lang.Object
implements org.apache.http.HttpRequestFactory

Default implementation of a factory for creating request objects.

Since:
4.0
Version:
$Revision: 378645 $

Constructor Summary
DefaultHttpRequestFactory()
           
 
Method Summary
 org.apache.http.HttpRequest newHttpRequest(org.apache.http.RequestLine requestline)
           
 org.apache.http.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 org.apache.http.HttpRequest newHttpRequest(org.apache.http.RequestLine requestline)
                                           throws org.apache.http.MethodNotSupportedException
Specified by:
newHttpRequest in interface org.apache.http.HttpRequestFactory

newHttpRequest

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