Packages

final class RouterLogic[Page] extends Broadcaster[Unit]

Performs all routing logic.

Page

Routing rules context. Prevents different routing rule sets being mixed up.

Linear Supertypes
Broadcaster[Unit], Listenable[Unit], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RouterLogic
  2. Broadcaster
  3. Listenable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RouterLogic(baseUrl: BaseUrl, cfg: RouterConfig[Page])

    baseUrl

    The prefix of all routes in a set.

Type Members

  1. type Action = router.Action[Page]
  2. type Redirect = router.Redirect[Page]
  3. type Renderer = router.Renderer[Page]
  4. type Resolution = router.Resolution[Page]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val baseUrl: BaseUrl
  6. def broadcast(a: Unit): Callback
    Attributes
    protected
    Definition Classes
    Broadcaster
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. val ctl: RouterCtl[Page]
  9. val ctlByPath: RouterCtl[Path]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. implicit def impbaseurl: BaseUrl
    Attributes
    protected
    Annotations
    @inline()
  16. def interpret[A](r: RouteCmd[A]): CallbackTo[A]
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def listenerIterator: Iterator[(Unit) ⇒ Callback]
    Attributes
    protected
    Definition Classes
    Broadcaster
  19. def log(msg: ⇒ String): Log
    Attributes
    protected
    Annotations
    @inline()
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def parseUrl(url: AbsUrl): Option[Path]
  24. def redirect(r: Redirect): RouteCmd[Resolution]
  25. def redirectCmd(p: Path, m: Method): RouteCmd[Unit]
  26. def redirectToPath(path: Path, method: Method): RouteCmd[Resolution]
  27. def register(listener: (Unit) ⇒ Callback): CallbackTo[Callback]

    Register a listener.

    Register a listener.

    listener

    The listener/consumer. A procedure that receives data of type A.

    returns

    A procedure to unregister the given listener.

    Definition Classes
    BroadcasterListenable
  28. def render(r: Resolution): VdomElement
  29. def resolve(page: Page, action: Action): RouteCmd[Resolution]
  30. def resolveAction(a: Action): Either[RouteCmd[Resolution], Renderer]
  31. def setPath(path: Path): RouteCmd[Unit]
  32. def syncToPath(path: Path): RouteCmd[Resolution]
  33. def syncToUrl(url: AbsUrl): RouteCmd[Resolution]
  34. val syncToWindowUrl: CallbackTo[Resolution]
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  40. def wrongBase(wrongUrl: AbsUrl): RouteCmd[Resolution]

Deprecated Value Members

  1. final def listeners: List[(Unit) ⇒ Callback]
    Attributes
    protected
    Definition Classes
    Broadcaster
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2.0) Use listenerIterator

Inherited from Broadcaster[Unit]

Inherited from Listenable[Unit]

Inherited from AnyRef

Inherited from Any

Ungrouped