package path
- Alphabetic
- Public
- Protected
Type Members
- case class /(parent: Path, child: String) extends Path with Product with Serializable
Path separator extractor: Path("/1/2/3/test.json") match { case Root / "1" / "2" / "3" / "test.json" => ...
- case class :?(path: Path, params: ParamMap) extends Product with Serializable
- abstract class DoubleParamMatcher extends AnyRef
Double param extractor: object Latitude extends DoubleParamMatcher("lat") (Path(request.path) :? request.params) match { case Root / "closest" :? Latitude("lat") => ...
- abstract class IntParamMatcher extends AnyRef
Int param extractor: object Page extends IntParamMatcher("page") (Path(request.path) :? request.params) match { case Root / "blog" :? Page(page) => ...
- abstract class LongParamMatcher extends AnyRef
Long param extractor: object UserId extends LongParamMatcher("user_id") (Path(request.path) :? request.params) match { case Root / "user" :? UserId(userId) => ...
- class Numeric[A <: AnyVal] extends AnyRef
- Attributes
- protected
- abstract class ParamMatcher extends AnyRef
Param extractor: object ScreenName extends ParamMatcher("screen_name") (Path(request.path) :? request.params) match { case Root / "user" :? ScreenName(screenName) => ...
- abstract class Path extends AnyRef
Base class for path extractors.
Value Members
- object ->
HttpMethod extractor
- object /:
Path separator extractor: Path("/1/2/3/test.json") match { case "1" /: "2" /: _ => ...
- object :&
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) => ...
- object Integer extends Numeric[Int]
Integer extractor: Path("/user/123") match { case Root / "user" / Int(userId) => ...
- object Long extends Numeric[scala.Long]
Long extractor: Path("/user/123") match { case Root / "user" / Long(userId) => ...
- object Path
- case object Root extends Path with Product with Serializable
Root extractor: Path("/") match { case Root => ...
Root extractor: Path("/") match { case Root => ... }
- object ~
File extension extractor