object RoutingRules
- Alphabetic
- By Inheritance
- RoutingRules
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type Exception = RoutingRulesF.Exception
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, Props](toPage: (Path) => Option[Parsed[Page]], fromPage: (Page) => (Path, Action[Page, Props]), notFound: (Path) => Parsed[Page]): RoutingRules[Page, Props]
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.
- Annotations
- @inline()
- def bulkDynamic[Page, Props](toPage: (Path) => Sync[Option[Parsed[Page]]], fromPage: (Page) => (Path, Sync[Action[Page, Props]]), notFound: (Path) => Parsed[Page]): RoutingRules[Page, Props]
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.
- Annotations
- @inline()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromRule[Page, Props](rule: RoutingRule[Page, Props], fallbackPath: (Page) => Path, fallbackAction: (Path, Page) => Action[Page, Props], whenNotFound: (Path) => Sync[Parsed[Page]]): RoutingRules[Page, Props]
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @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
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)