Packages

object StaticDsl

This is not meant to be imported by library-users; RouterConfigDsl is the entire library-user-facing facade & DSL.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StaticDsl
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class DynamicRedirectB[Page, A, O] extends AnyVal
  2. final class DynamicRouteB[Page, P <: Page, O] extends AnyVal
  3. final class Route[A] extends RouteCommon[Route, A]

    A complete route.

  4. class RouteB[A] extends RouteCommon[RouteB, A]

    A fragment of a route.

    A fragment of a route. Can be composed with other fragments.

  5. final class RouteBO[A] extends AnyVal
  6. abstract class RouteCommon[R[X] <: RouteCommon[R, X], A] extends AnyRef
  7. final case class Rule[Page](parse: (Path) ⇒ Option[Parsed[Page]], path: (Page) ⇒ Option[Path], action: (Path, Page) ⇒ Option[Action[Page]]) extends Product with Serializable

    A single routing rule.

    A single routing rule. Intended to be composed with other Rules. When all rules are composed, this is turned into a Rules instance.

    Page

    The type of legal pages.

    parse

    Attempt to parse a given path.

    path

    Attempt to determine the path for some page.

    action

    Attempt to determine the action when a route resolves to some page.

  8. final case class Rules[Page](parse: (Path) ⇒ Option[Parsed[Page]], path: (Page) ⇒ Path, action: (Path, Page) ⇒ Action[Page]) extends Product with Serializable

    Exhaustive routing rules.

    Exhaustive routing rules. For all Pages there are Paths and Actions.

  9. final class StaticRedirectB[Page, O] extends AnyVal
  10. final class StaticRouteB[Page, O] extends AnyVal

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. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def regexEscape(s: String): String

    Pattern.quote doesn't work in Scala.JS.

    Pattern.quote doesn't work in Scala.JS.

    http://stackoverflow.com/questions/2593637/how-to-escape-regular-expression-in-javascript

  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  21. object RouteB

    Route builder.

    Route builder. Allows you to specify routes like "user" / int / "display". Once complete, RouteB will become a Route.

  22. object Rule extends Serializable
  23. object Rules extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped