open class MockAsyncClientHttpRequest : MockClientHttpRequest, AsyncClientHttpRequest
An extension of MockClientHttpRequest that also implements org.springframework.http.client.AsyncClientHttpRequest by wrapping the response in a SettableListenableFuture.
Author
Rossen Stoyanchev
Author
Sam Brannen
Since
4.1
MockAsyncClientHttpRequest()MockAsyncClientHttpRequest(httpMethod: HttpMethod, uri: URI) |
open fun executeAsync(): ListenableFuture<ClientHttpResponse> |