public class ApacheHttpRequestFactory extends Object implements HttpRequestFactory<org.apache.http.client.methods.HttpRequestBase>
Constructor and Description |
---|
ApacheHttpRequestFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.http.client.methods.HttpRequestBase |
create(Request<?> request,
HttpClientSettings settings)
A factory method for creating http requests accepted by the underlying
http client from the sdk request objects.
|
public org.apache.http.client.methods.HttpRequestBase create(Request<?> request, HttpClientSettings settings) throws FakeIOException
HttpRequestFactory
create
in interface HttpRequestFactory<org.apache.http.client.methods.HttpRequestBase>
request
- sdk request object.settings
- configuration to be set for the http request.FakeIOException