Package

com.twitter.finagle.http

path

Permalink

package path

Visibility
  1. Public
  2. All

Type Members

  1. case class /(parent: Path, child: String) extends Path with Product with Serializable

    Permalink

    Path separator extractor: Path("/1/2/3/test.json") match { case Root / "1" / "2" / "3" / "test.json" => ...

  2. case class :?(path: Path, params: ParamMap) extends Product with Serializable

    Permalink
  3. abstract class DoubleParamMatcher extends AnyRef

    Permalink

    Double param extractor: object Latitude extends DoubleParamMatcher("lat") (Path(request.path) :? request.params) match { case Root / "closest" :? Latitude("lat") => ...

  4. abstract class IntParamMatcher extends AnyRef

    Permalink

    Int param extractor: object Page extends IntParamMatcher("page") (Path(request.path) :? request.params) match { case Root / "blog" :? Page(page) => ...

  5. abstract class LongParamMatcher extends AnyRef

    Permalink

    Long param extractor: object UserId extends LongParamMatcher("user_id") (Path(request.path) :? request.params) match { case Root / "user" :? UserId(userId) => ...

  6. class Numeric[A <: AnyVal] extends AnyRef

    Permalink
    Attributes
    protected
  7. abstract class ParamMatcher extends AnyRef

    Permalink

    Param extractor: object ScreenName extends ParamMatcher("screen_name") (Path(request.path) :? request.params) match { case Root / "user" :? ScreenName(screenName) => ...

  8. abstract class Path extends AnyRef

    Permalink

    Base class for path extractors.

Value Members

  1. object ->

    Permalink

    HttpMethod extractor

  2. object /:

    Permalink

    Path separator extractor: Path("/1/2/3/test.json") match { case "1" /: "2" /: _ => ...

  3. object :&

    Permalink

    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) => ...

  4. object Integer extends Numeric[Int]

    Permalink

    Integer extractor: Path("/user/123") match { case Root / "user" / Int(userId) => ...

  5. object Long extends Numeric[Long]

    Permalink

    Long extractor: Path("/user/123") match { case Root / "user" / Long(userId) => ...

  6. object Path

    Permalink
  7. object Root extends Path with Product with Serializable

    Permalink

    Root extractor: Path("/") match { case Root => ...

    Root extractor: Path("/") match { case Root => ... }

  8. object ~

    Permalink

    File extension extractor

Ungrouped