MockHttpClient Class
- java.
lang. Object - com.
azure. core. test. http. NoOpHttpClient - com.
azure. core. test. http. MockHttpClient
- com.
- com.
public class MockHttpClient
extends NoOpHttpClient
This HttpClient attempts to mimic the behavior of http://httpbin.org without ever making a network call.
Constructor Summary
Constructor | Description | |
---|---|---|
MockHttpClient() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Mono<Http |
send(HttpRequest request) |
Methods inherited from NoOpHttpClient
Methods inherited from java.lang.Object
Constructor Details
MockHttpClient
public MockHttpClient()
Method Details
send
public Mono
Overrides:
MockHttpClient.send(HttpRequest request)Parameters:
request