Uses of Class
com.easypost.easyvcr.CensorElement
Packages that use CensorElement
-
Uses of CensorElement in com.easypost.easyvcr
Subclasses of CensorElement in com.easypost.easyvcrMethod parameters in com.easypost.easyvcr with type arguments of type CensorElementModifier and TypeMethodDescriptionstatic StringCensors.applyBodyParameterCensors(String body, String censorText, List<CensorElement> bodyElementsToCensor)Censor the appropriate body elements.Censors.applyHeaderCensors(Map<String,List<String>> headers, String censorText, List<CensorElement> headersToCensor)Censor the appropriate headers.static StringCensors.applyUrlCensors(String url, String censorText, List<CensorElement> queryParamsToCensor, List<RegexCensorElement> pathElementsToCensor)Censor the appropriate query parameters.MatchRules.byBody(List<CensorElement> ignoredElements)Add a rule to compare the bodies of the requests.Censors.censorBodyElements(List<CensorElement> elements)Add a rule to censor specified body elements.Censors.censorHeaders(List<CensorElement> headers)Add a rule to censor specified headers.static StringCensors.censorJsonData(String data, String censorText, List<CensorElement> elementsToCensor)Apply censors to a JSON string.Censors.censorQueryParameters(List<CensorElement> elements)Add a rule to censor specified query parameters. -
Uses of CensorElement in com.easypost.easyvcr.internal
Method parameters in com.easypost.easyvcr.internal with type arguments of type CensorElementModifier and TypeMethodDescriptionstatic StringUtilities.removeJsonElements(String json, List<CensorElement> elements)Remove elements from a JSON string.