Class ApacheBackedHttpClient
- java.lang.Object
-
- com.github.tomakehurst.wiremock.http.client.ApacheBackedHttpClient
-
- All Implemented Interfaces:
HttpClient
public class ApacheBackedHttpClient extends java.lang.Object implements HttpClient
-
-
Field Summary
-
Fields inherited from interface com.github.tomakehurst.wiremock.http.client.HttpClient
CONTENT_ENCODING, CONTENT_LENGTH, FORBIDDEN_REQUEST_HEADERS, FORBIDDEN_RESPONSE_HEADERS, HOST_HEADER, TRANSFER_ENCODING, USER_AGENT
-
-
Constructor Summary
Constructors Constructor Description ApacheBackedHttpClient(org.apache.hc.client5.http.impl.classic.CloseableHttpClient apacheHttpClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Responseexecute(Request request)
-
-
-
Method Detail
-
execute
public Response execute(Request request) throws java.io.IOException
- Specified by:
executein interfaceHttpClient- Throws:
java.io.IOException
-
-