io.finch.route

Router0

Related Doc: package route

trait Router0 extends AnyRef

A router that match the given route to some predicate.

Self Type
Router0
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Router0
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract 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.

Concrete 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.

  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.

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

    Maps this router to some value.

  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.

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

    Sequentially composes this router with the given that RouterN.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  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. def hashCode(): Int

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

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

    Maps this router to the given value a.

  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. 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.

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

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    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.

Inherited from AnyRef

Inherited from Any

Ungrouped