object StaticDsl
This is not meant to be imported by library-users; RouterConfigDsl is the entire library-user-facing facade & DSL.
- Alphabetic
- By Inheritance
- StaticDsl
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final class DynamicRedirectB[Page, A, O] extends AnyVal
- final class DynamicRouteB[Page, P <: Page, O] extends AnyVal
-
final
class
Route[A] extends RouteCommon[Route, A]
A complete route.
-
class
RouteB[A] extends RouteCommon[RouteB, A]
A fragment of a route.
A fragment of a route. Can be composed with other fragments.
- final class RouteBO[A] extends AnyVal
- abstract class RouteCommon[R[X] <: RouteCommon[R, X], A] extends AnyRef
-
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.
-
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 arePaths andActions. - final class StaticRedirectB[Page, O] extends AnyVal
- final class StaticRouteB[Page, O] extends AnyVal
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
object
RouteB
Route builder.
- object Rule extends Serializable
- object Rules extends Serializable