io.finch.route

Matcher

Related Doc: package route

case class Matcher(s: String) extends Router0 with Product with Serializable

An universal matcher.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Matcher
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Router0
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Matcher(s: String)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def /[A](that: RouterN[A]): RouterN[A]

    Sequentially composes this router with the given that router.

    Sequentially composes this router with the given that router. The resulting router will succeed only if both this and that routers are succeed.

    Definition Classes
    Router0
  4. def /(that: Router0): Router0

    Sequentially composes this router with the given that router.

    Sequentially composes this router with the given that router. The resulting router will succeed only if both this and that routers are succeed.

    Definition Classes
    Router0
  5. def />[A](a: ⇒ A): RouterN[A]

    Maps this router to some value.

    Maps this router to some value.

    Definition Classes
    Router0
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  7. def andThen(that: ⇒ Router0): Router0

    Sequentially composes this router with the given that Router0.

    Sequentially composes this router with the given that Router0.

    Definition Classes
    Router0
  8. def andThen[A](that: ⇒ RouterN[A]): RouterN[A]

    Sequentially composes this router with the given that RouterN.

    Sequentially composes this router with the given that RouterN.

    Definition Classes
    Router0
  9. def apply(route: Route): Option[Route]

    Matches the given route to some predicate and returns Some of the _rest_ of the route in case of success or None otherwise.

    Matches the given route to some predicate and returns Some of the _rest_ of the route in case of success or None otherwise.

    Definition Classes
    MatcherRouter0
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def map[A](a: ⇒ A): RouterN[A]

    Maps this router to the given value a.

    Maps this router to the given value a.

    Definition Classes
    Router0
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def orElse(that: Router0): Router0

    Sequentially composes this router with the given that router.

    Sequentially composes this router with the given that router. The resulting router will succeed if either this or that routers are succeed.

    Router composition via orElse operator happens in a _greedy_ manner: it minimizes the output route tail. Thus, if both of the routers can handle the given route the router is being chosen is that which eats more.

    Definition Classes
    Router0
  21. val s: String

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    Matcher → AnyRef → Any
  24. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def |(that: Router0): Router0

    Sequentially composes this router with the given that router.

    Sequentially composes this router with the given that router. The resulting router will succeed if either this or that routers are succeed.

    Definition Classes
    Router0

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Router0

Inherited from AnyRef

Inherited from Any

Ungrouped