Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Apologies up front if the error is due to myself. I'm unable to find any java side information on this online or on the lightbend forums.
Intent: I wanted to create a route that matches for *.ts (i.e localhost:8080/video/1.ts). I've tried pathSuffix for ".ts" which didn't work so I attempt to use regex.
I constructed my pathmatcher through:
and my function,
When I try to use path(pathMatcher, regexFunctionRoute) it doesn't recognize pathMatcher as PathMatcher1. Intellij tells me that
It recognizes the function as being correct, but not the PathMatcher1. Am I doing something wrong or is there something missing from the javadsl?
Thank you very much
The docs mentioning