Closed intUnderflow closed 5 years ago
Thanks for commiting. I'll have a look at it, maybe next week. I find the functionality a bit strange but I might be wrong.
You have this functionality by writing the code:
get("/*", (q, a) -> "Wild world!");
This updates RouteEntry so that if a path is a single wildcard (ie
*
) it will be accepted as matching any string. This makes it possible to create a catch-all spark route, for example via: