org.apache.http
Interface HttpRequestFactory
- All Known Implementing Classes: 
- DefaultHttpRequestFactory
- public interface HttpRequestFactory 
A factory for HttpRequest objects.
- Since:
- 4.0
 
newHttpRequest
HttpRequest newHttpRequest(RequestLine requestline)
                           throws MethodNotSupportedException
- 
- Throws:
- MethodNotSupportedException
 
newHttpRequest
HttpRequest newHttpRequest(String method,
                           String uri)
                           throws MethodNotSupportedException
- 
- Throws:
- MethodNotSupportedException
 
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.