Uses of Class
com.easypost.easyvcr.Censors
Packages that use Censors
-
Uses of Censors in com.easypost.easyvcr
Fields in com.easypost.easyvcr declared as CensorsMethods in com.easypost.easyvcr that return CensorsModifier and TypeMethodDescriptionCensors.censorBodyElements(List<CensorElement> elements)Add a rule to censor specified body elements.Censors.censorBodyElementsByKeys(List<String> elementKeys)Add a rule to censor specified body elements by their keys.Censors.censorBodyElementsByKeys(List<String> elementKeys, boolean caseSensitive)Add a rule to censor specified body elements by their keys.Censors.censorHeaders(List<CensorElement> headers)Add a rule to censor specified headers.Censors.censorHeadersByKeys(List<String> headerKeys)Add a rule to censor specified headers by their keys.Censors.censorHeadersByKeys(List<String> headerKeys, boolean caseSensitive)Add a rule to censor specified headers by their keys.Censors.censorPathElements(List<RegexCensorElement> elements)Add a rule to censor specified path elements.Censors.censorPathElementsByPattern(List<String> patterns)Add a rule to censor specified path elements by regular expression patterns.Censors.censorPathElementsByPattern(List<String> patterns, boolean caseSensitive)Add a rule to censor specified path elements by regular expression patterns.Censors.censorQueryParameters(List<CensorElement> elements)Add a rule to censor specified query parameters.Censors.censorQueryParametersByKeys(List<String> parameterKeys)Add a rule to censor specified query parameters by their keys.Censors.censorQueryParametersByKeys(List<String> parameterKeys, boolean caseSensitive)Add a rule to censor specified query parameters by their keys.static CensorsCensors.regular()Default censors is to not censor anything.static CensorsCensors.strict()Default sensitive censors is to censor common private information (i.e. -
Uses of Censors in com.easypost.easyvcr.interactionconverters
Methods in com.easypost.easyvcr.interactionconverters with parameters of type CensorsModifier and TypeMethodDescriptionHttpUrlConnectionInteractionConverter.createInteraction(HttpURLConnection connection, RecordableRequestBody requestBody, Censors censors)Convert a Http(s)URLConnection to an EasyVCR HttpInteraction.HttpUrlConnectionInteractionConverter.createRecordedRequest(HttpURLConnection connection, RecordableRequestBody requestBody, Censors censors)Convert a HttpURLConnection request to an EasyVCR request.HttpUrlConnectionInteractionConverter.createRecordedResponse(HttpURLConnection connection, Censors censors)Convert a HttpURLConnection response to a ResponseAndTime object.