bazaarvoice/dropwizard-redirect-bundle — pull request #9 by bbeck (2014-07-25 19:59:25+00:00)
Title: Rename UriRedirect -> PathRedirect and add new UriRedirect functionality

This is a proposed set of changes to allow one to accomplish a similar effect to #8, but not hardcoding it into the `HttpsRedirect`.

This introduces a generalized redirector that operates in a similar fashion to Apache mod-rewrite. Users can apply a regular expression match pattern as well as replacement to a complete URI. With that they can change protocols, ports, hosts, paths, or parameters. I think that will meet the use case that #8 intended to address and more.