Uses of Class
org.microproxy.extras.RewriteRules.Rule
Packages that use RewriteRules.Rule
-
Uses of RewriteRules.Rule in org.microproxy.extras
Methods in org.microproxy.extras that return RewriteRules.RuleModifier and TypeMethodDescriptionRewriteRules.Rule.ignoringQuery()Matches the URL without its query string.static RewriteRules.RuleA rule for URLs that fully matchurlRegex.Restricts the rule to these methods.static RewriteRules.RuleA rule for URLs that start withprefix(matched literally).RewriteRules.Rule.removeRequestHeader(String name) Removes a header from matching requests.RewriteRules.Rule.removeResponseHeader(String name) Removes a header from matching responses.RewriteRules.Rule.replaceInBody(String regex, String replacement) Replaces every match ofregexin textual response bodies (Matcher.replaceAll(java.lang.String)).RewriteRules.Rule.replaceLiteralInBody(String target, String replacement) Replaces every occurrence oftargetliterally in textual response bodies.RewriteRules.Rule.setRequestHeader(String name, String value) Sets a header on matching requests.RewriteRules.Rule.setResponseHeader(String name, String value) Sets a header on matching responses.Methods in org.microproxy.extras with parameters of type RewriteRules.RuleModifier and TypeMethodDescriptionRewriteRules.Builder.add(RewriteRules.Rule rule) Appends a rule to this rewrite configuration.