Route

kreuzberg.extras.Route
See theRoute companion trait
object Route

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Route.type

Members list

Type members

Classlikes

case class DependentRoute[S](pathCodec: PathCodec[S], fn: S => Component, titleFn: S => String) extends EagerRoute

A Route whose target depends on a value.

A Route whose target depends on a value.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EagerRoute
trait Route
class Object
trait Matchable
class Any
Show all
trait EagerRoute extends Route

A Route which directly translates a path into a component

A Route which directly translates a path into a component

Attributes

Supertypes
trait Route
class Object
trait Matchable
class Any
Known subtypes
class DependentRoute[S]
class SimpleRoute
case class LazyRoute[S](pathCodec: PathCodec[S], eagerTitle: S => String, routingTarget: S => AssemblerContext ?=> Effect[RoutingTarget]) extends Route

A Lazy route which fetches data.

A Lazy route which fetches data.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Route
class Object
trait Matchable
class Any
Show all
case class SimpleRoute(path: String, title: String, component: Component) extends EagerRoute

Simple Route without parameters.

Simple Route without parameters.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EagerRoute
trait Route
class Object
trait Matchable
class Any
Show all