org.apache.http.impl
Class DefaultHttpRequestFactoryHC4

java.lang.Object
  extended by org.apache.http.impl.DefaultHttpRequestFactoryHC4
All Implemented Interfaces:
org.apache.http.HttpRequestFactory

@Immutable
public class DefaultHttpRequestFactoryHC4
extends java.lang.Object
implements org.apache.http.HttpRequestFactory

Default factory for creating HttpRequest objects.

Since:
4.0

Field Summary
static DefaultHttpRequestFactoryHC4 INSTANCE
           
 
Constructor Summary
DefaultHttpRequestFactoryHC4()
           
 
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
 

Field Detail

INSTANCE

public static final DefaultHttpRequestFactoryHC4 INSTANCE
Constructor Detail

DefaultHttpRequestFactoryHC4

public DefaultHttpRequestFactoryHC4()
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
Throws:
org.apache.http.MethodNotSupportedException

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
Throws:
org.apache.http.MethodNotSupportedException