Class ApacheHttpRequestFactory
- java.lang.Object
-
- com.amazonaws.http.apache.request.impl.ApacheHttpRequestFactory
-
- All Implemented Interfaces:
HttpRequestFactory<org.apache.http.client.methods.HttpRequestBase>
public class ApacheHttpRequestFactory extends Object implements HttpRequestFactory<org.apache.http.client.methods.HttpRequestBase>
Responsible for creating Apache HttpClient 4 request objects.
-
-
Constructor Summary
Constructors Constructor Description ApacheHttpRequestFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
create
public org.apache.http.client.methods.HttpRequestBase create(Request<?> request, HttpClientSettings settings) throws FakeIOException
Description copied from interface:HttpRequestFactory
A factory method for creating http requests accepted by the underlying http client from the sdk request objects.- Specified by:
create
in interfaceHttpRequestFactory<org.apache.http.client.methods.HttpRequestBase>
- Parameters:
request
- sdk request object.settings
- configuration to be set for the http request.- Returns:
- an instance of request that is accepted by the underlying http client that SDK uses.
- Throws:
FakeIOException
-
-