Package org.eclipse.jetty.rewrite.handler
package org.eclipse.jetty.rewrite.handler
Jetty Rewrite : Rewrite Handler and Rules for Jetty
-
ClassDescriptionRewrites the URI by compacting to remove occurrences of
//
.Sets a response cookie whenever the rule matches.Sets the request URI scheme, by defaulthttps
.Puts or adds a response header whenever the rule matches a path Servlet pattern.Puts or adds a response header whenever the rule matches a path regex pattern.Abstract rule that matches against request headers.Rule that protects against invalid unicode characters in URLs, returning a configurable status code with body message.Abstract rule that uses the Servlet pattern syntax viaServletPathSpec
for path pattern matching.Issues a (3xx) redirect response whenever the rule finds a request path Servlet pattern match.Issues a (3xx) redirect response whenever the rule finds a request path regular expression matchAbstract rule that uses the regular expression syntax for path pattern matching.Sends the response code whenever the rule finds a match.Sends a response with the configured status code whenever the value of the configured request header matches a regular expression.RewriteHandler
rewrites incoming requests through a set ofRule
s.A rule to rewrite the path and query that match a Servlet pattern with a fixed string.A rule to rewrite the path and query that match a regular expression pattern with a fixed string.An abstract rule that, upon matching a certain condition, may wrap theRequest
or theHandler
to execute custom logic.ARequest.Wrapper
used to chain a sequence ofRule
s together.A container that groupsRule
s and is itself aRule
.If this rule matches, terminates the processing of other rules, allowing the request to be processed by the handlers after theRewriteHandler
.If this rule matches, terminate the processing of other rules.Groups rules that apply only to one or more specific virtual hosts.