Path separator extractor: Path("/1/2/3/test.json") match { case Root / "1" / "2" / "3" / "test.json" => ...
Double param extractor: object Latitude extends DoubleParamMatcher("lat") (Path(request.path) :? request.params) match { case Root / "closest" :? Latitude("lat") => ...
Int param extractor: object Page extends IntParamMatcher("page") (Path(request.path) :? request.params) match { case Root / "blog" :? Page(page) => ...
Long param extractor: object UserId extends LongParamMatcher("user_id") (Path(request.path) :? request.params) match { case Root / "user" :? UserId(userId) => ...
Param extractor: object ScreenName extends ParamMatcher("screen_name") (Path(request.path) :? request.params) match { case Root / "user" :? ScreenName(screenName) => ...
Base class for path extractors.
HttpMethod extractor
Path separator extractor: Path("/1/2/3/test.json") match { case "1" /: "2" /: _ => ...
Multiple param extractor: object A extends ParamMatcher("a") object B extends ParamMatcher("b") (Path(request.path) :? request.params) match { case Root / "user" :? A(a) :& B(b) => ...
Integer extractor: Path("/user/123") match { case Root / "user" / Int(userId) => ...
Long extractor: Path("/user/123") match { case Root / "user" / Long(userId) => ...
Root extractor: Path("/") match { case Root => ...
Root extractor: Path("/") match { case Root => ... }
File extension extractor