static url(path, ...args) {
    return Layer.prototype.url.apply({ path }, args);
  }
Generate URL from url pattern and given `params`.

@example

```javascript
const url = Router.url('/users/:id', {id: 1});
// => "/users/1"
```

@param {String} path url pattern
@param {Object} params url parameters
@returns {String}