handlerPath property

String handlerPath

The URL path to the current handler.

This allows a handler to know its location within the URL-space of an application. Routers should be sure to update this when dispatching to a nested handler, using the path parameter to change.

handlerPath is always a root-relative URL path; that is, it always starts with /. It will also end with / whenever url's path is non-empty, or if requestedUri's path ends with /.

handlerPath and url's path combine to create requestedUri's path.


final String handlerPath;