RecordingRedactor Class
- java.
lang. Object - com.
azure. core. test. models. RecordingRedactor
- com.
public class RecordingRedactor
This class used to redact the sensitive information when recording
Constructor Summary
Constructor | Description |
---|---|
RecordingRedactor() |
Creates an instance of RecordingRedactor with a default set of redactors. |
RecordingRedactor(List<Function<String,String>> customRedactors) |
Creates an instance of RecordingRedactor with a default set of redactors and additionally include the provided list of custom redactor functions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
redact(String redactableString)
Redact the sensitive information. |
Methods inherited from java.lang.Object
Constructor Details
RecordingRedactor
public RecordingRedactor()
Creates an instance of RecordingRedactor with a default set of redactors.
RecordingRedactor
public RecordingRedactor(List
Creates an instance of RecordingRedactor with a default set of redactors and additionally include the provided list of custom redactor functions.
Parameters:
Method Details
redact
public String redact(String redactableString)
Redact the sensitive information.
Parameters:
Returns:
Applies to
Azure SDK for Java