-
- All Implemented Interfaces:
-
tech.harmonysoft.oss.http.client.HttpClient,tech.harmonysoft.oss.test.TestAware
@Priority(value = 10000)@Named() public final class TestHttpClient implements HttpClient, TestAware
-
-
Constructor Summary
Constructors Constructor Description TestHttpClient(HttpClientImpl delegate)
-
Method Summary
Modifier and Type Method Description UnitonTestEnd()final UnitstubResponse(String method, Regex urlPattern, HttpResponse<ByteArray> response)<T extends Any> HttpResponse<T>execute(HttpUriRequestBase request, HttpResponseConverter<T> converter, Map<String, String> headers)Unitclose()-
Methods inherited from class tech.harmonysoft.oss.http.client.HttpClient
delete, get, get, post, put -
Methods inherited from class tech.harmonysoft.oss.test.TestAware
onTestStart -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-