Javadoc
Re-writes URL of an incoming request before any handlers or their hooks are called.
This can be used to map an incoming URL to an URL that a handler understands. The re-writer overwrites the incoming
URL with the new value.
The re-writer can also send response to the clients, eg. redirect header,
and then stop further request processing.