Package

io.udash

routing

Permalink

package routing

Visibility
  1. Public
  2. All

Type Members

  1. trait Routing extends AnyRef

    Permalink
  2. class RoutingEngine[HierarchyRoot >: Null <: GState[HierarchyRoot]] extends AnyRef

    Permalink

    RoutingEngine handles URL changes by resolving application io.udash.core.State with matching io.udash.core.ViewFactorys and rendering views via passed io.udash.ViewRenderer.

  3. trait RoutingRegistry[HierarchyRoot <: core.State] extends AnyRef

    Permalink

    The implementation of this trait should be injected to io.udash.routing.RoutingEngine.

    The implementation of this trait should be injected to io.udash.routing.RoutingEngine. It should implement a bidirectional mapping between io.udash.core.Url and io.udash.core.State.

  4. case class StateChangeEvent[S <: State](currentState: S, oldState: S)(implicit evidence$1: ClassTag[S]) extends Product with Serializable

    Permalink
  5. trait UrlChangeProvider extends AnyRef

    Permalink

    Provides information about current URL.

  6. trait UrlLogging[S >: Null <: GState[S]] extends CrossLogging

    Permalink

    RoutingRegistry mixin simplifying logging app navigation.

  7. final class WindowUrlFragmentChangeProvider extends UrlChangeProvider

    Permalink

    Used for routing based on the URL part following # sign.

  8. final class WindowUrlPathChangeProvider extends UrlChangeProvider

    Permalink

    Used for routing based on the URL path.

    Used for routing based on the URL path. Don't forget to configure your web server to handle frontend routes. You may find "rewrite rules" mechanism useful.

Value Members

  1. object RoutingRegistry

    Permalink

Ungrouped