case classRouterBuilder[Input, Route, +RouterType <: Router[Input, Route]] extends Product with Serializable
Utility for building and creating routers. The resulting router
should be considered immutable, unless the router's implementation
explicitly states otherwise.
The router's destination Route type. It is recommended that the Route
is a self-contained/self-describing type for the purpose of validation via
the validator. Put differently, the Route should know of the
Input that maps to itself.
Utility for building and creating routers. The resulting router should be considered immutable, unless the router's implementation explicitly states otherwise.
The router's
Input
type.The router's destination
Route
type. It is recommended that theRoute
is a self-contained/self-describing type for the purpose of validation via the validator. Put differently, theRoute
should know of theInput
that maps to itself.The type of Router to build.