public final class PlaybackClient extends Object implements HttpClient
NetworkCallRecords.| Constructor and Description |
|---|
PlaybackClient(RecordedData recordedData,
Map<String,String> textReplacementRules)
Creates a PlaybackClient that replays network calls from
recordedData and replaces response text for any rules specified in textReplacementRules. |
| Modifier and Type | Method and Description |
|---|---|
Mono<HttpResponse> |
send(HttpRequest request) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDefaultpublic PlaybackClient(RecordedData recordedData, Map<String,String> textReplacementRules)
recordedData and replaces response text for any rules specified in textReplacementRules.recordedData - The data to playback.textReplacementRules - A set of rules to replace text in network call responses.public Mono<HttpResponse> send(HttpRequest request)
send in interface HttpClientCopyright © 2019 Microsoft Corporation. All rights reserved.