object RoutingRules extends Serializable
- Alphabetic
- By Inheritance
- RoutingRules
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final class Exception extends RuntimeException
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
bulk[Page](toPage: (Path) ⇒ Option[Parsed[Page]], fromPage: (Page) ⇒ (Path, Action[Page]), notFound: (Path) ⇒ Parsed[Page]): RoutingRules[Page]
Create routing rules all at once, with compiler proof that all
Pages will have aPathandActionassociated.Create routing rules all at once, with compiler proof that all
Pages will have aPathandActionassociated.The trade-off here is that care will need to be taken to ensure that path-parsing aligns with paths generated for pages. It is recommended that you call RouterConfig.verify as a sanity-check.
-
def
bulkDynamic[Page](toPage: (Path) ⇒ CallbackTo[Option[Parsed[Page]]], fromPage: (Page) ⇒ (Path, CallbackTo[Action[Page]]), notFound: (Path) ⇒ Parsed[Page]): RoutingRules[Page]
Create routing rules all at once, with compiler proof that all
Pages will have aPathandActionassociated.Create routing rules all at once, with compiler proof that all
Pages will have aPathandActionassociated.The trade-off here is that care will need to be taken to ensure that path-parsing aligns with paths generated for pages. It is recommended that you call RouterConfig.verify as a sanity-check.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def fromRule[Page, Props](rule: RoutingRule[Page, Props], fallbackPath: (Page) ⇒ Path, fallbackAction: (Path, Page) ⇒ Action[Page], whenNotFound: (Path) ⇒ CallbackTo[Parsed[Page]]): RoutingRules[Page]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.