### YamlMime:JavaType
uid: "com.azure.core.test.http.PlaybackClient"
fullName: "com.azure.core.test.http.PlaybackClient"
name: "PlaybackClient"
nameWithType: "PlaybackClient"
summary: "HTTP client that plays back ."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **PlaybackClient** implements "
constructors:
- uid: "com.azure.core.test.http.PlaybackClient.PlaybackClient(com.azure.core.test.models.RecordedData,java.util.Map)"
fullName: "com.azure.core.test.http.PlaybackClient.PlaybackClient(RecordedData recordedData, Map textReplacementRules)"
name: "PlaybackClient(RecordedData recordedData, Map textReplacementRules)"
nameWithType: "PlaybackClient.PlaybackClient(RecordedData recordedData, Map textReplacementRules)"
summary: "Creates a PlaybackClient that replays network calls from `recordedData` and replaces for any rules specified in `textReplacementRules`."
parameters:
- description: "The data to playback."
name: "recordedData"
type: ""
- description: "A set of rules to replace text in network call responses."
name: "textReplacementRules"
type: "Map<String,String>"
syntax: "public PlaybackClient(RecordedData recordedData, Map textReplacementRules)"
desc: "Creates a PlaybackClient that replays network calls from `recordedData` and replaces for any rules specified in `textReplacementRules`."
methods:
- uid: "com.azure.core.test.http.PlaybackClient.send(com.azure.core.http.HttpRequest)"
fullName: "com.azure.core.test.http.PlaybackClient.send(HttpRequest request)"
name: "send(HttpRequest request)"
nameWithType: "PlaybackClient.send(HttpRequest request)"
parameters:
- name: "request"
type: ""
syntax: "public Mono send(HttpRequest request)"
returns:
type: "Mono<>"
type: "class"
desc: "HTTP client that plays back ."
implements:
- ""
metadata: {}
package: "com.azure.core.test.http"
artifact: com.azure:azure-core-test:1.26.2