function setRouteParser(parser) {
  if (!this.isFunction(parser)) {
    this.logger.debug('Given route parser is not a function.')
    return
  }
  this._routeParser = parser
}
Sets the function used to convert the route handed to middleware-adding
methods into a string.

- `setRouteParser(parser)`

@memberof WebFrameworkShim.prototype
@param {RouteParserFunction} parser - The parser function to use.
@returns {undefined}