I'm not sure if that's the reason why this code was added.  May have just been paranoia about the method being called for an unexpected context or for code reuse outside of the server handler context.  If we're confident that `rewriteURI` won't be called by Jetty for a context not specified on the servlet handler (e.g., not called for requests to *foo* when the servlet handler was registered against a context of *bar*), then I'm okay with not adding any further work here for now.  The presence of this code just made me a bit nervous.