public final class PlaybackClient extends Object implements com.azure.core.http.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<com.azure.core.http.HttpResponse> |
send(com.azure.core.http.HttpRequest request) |
public 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<com.azure.core.http.HttpResponse> send(com.azure.core.http.HttpRequest request)
send in interface com.azure.core.http.HttpClientCopyright © 2020 Microsoft Corporation. All rights reserved.