RouteMatcher rm = RouteMatcher.routeMatcher();
server.requestHandler(rm::accept);
// regex pattern will be: "^base_path/.*"
String pattern = "^" + jerseyHandler.getBaseUri().getPath() + ".*";
rm.all(pattern, jerseyHandler);
// Add any additional routes if handler is provided
if (routeMatcherHandler != null) {
routeMatcherHandler.handle(rm);
}