create

Create a new router with the default configuration. The addHandler() method should be called to add a handler.


Create a new router with the specified configuration. The addHandler() method should be called to add a handler.


Create a new router with the specified handler and default configuration.


Create a new router with the specified handler and configuration.