Uses of Class
com.easypost.easyvcr.MatchRules
Packages that use MatchRules
-
Uses of MatchRules in com.easypost.easyvcr
Fields in com.easypost.easyvcr declared as MatchRulesMethods in com.easypost.easyvcr that return MatchRulesModifier and TypeMethodDescriptionMatchRules.byBaseUrl()Add a rule to compare the base URLs of the requests.MatchRules.byBody()Add a rule to compare the bodies of the requests.MatchRules.byBody(List<CensorElement> ignoredElements)Add a rule to compare the bodies of the requests.MatchRules.byEverything()Add a rule to compare the entire requests.MatchRules.byFullUrl()Add a rule to compare the full URLs (including query parameters) of the requests.MatchRules.byFullUrl(boolean exact)Add a rule to compare the full URLs (including query parameters) of the requests.Add a rule to compare a specific header of the requests.MatchRules.byHeaders()Add a rule to compare the headers of the requests.MatchRules.byHeaders(boolean exact)Add a rule to compare the headers of the requests.MatchRules.byMethod()Add a rule to compare the HTTP methods of the requests.static MatchRulesMatchRules.regular()Default rule is to match on the method and URL.static MatchRulesMatchRules.strict()Default strict rule is to match on the method, URL and body.Methods in com.easypost.easyvcr with parameters of type MatchRulesModifier and TypeMethodDescriptionvoidCassette.updateInteraction(HttpInteraction httpInteraction, MatchRules matchRules, boolean bypassSearch)Overwrite an existing interaction on this cassette, or add a new one if it doesn't exist. -
Uses of MatchRules in com.easypost.easyvcr.interactionconverters
Methods in com.easypost.easyvcr.interactionconverters with parameters of type MatchRulesModifier and TypeMethodDescriptionBaseInteractionConverter.findMatchingInteraction(Cassette cassette, Request request, MatchRules matchRules)Search for an existing interaction that matches the request.