final class RouteBO[A] extends AnyVal
- Alphabetic
- By Inheritance
- RouteBO
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def parseDefault(default: => A): RouteB[A]
Specify a default value when parsing.
Specify a default value when parsing.
Note: Unlike withDefault() path generation will still explicitly include the default value.
Eg. If the path is like "/file[.format]" and the default is JSON, "/file" will be read as "/file.json", but when generating a path with JSON this will generate "/file.json" instead of "/file".
- def toString(): String
- Definition Classes
- Any
- def withDefault(default: => A): RouteB[A]
Specify a default value.
Specify a default value.
Note: Unlike parseDefault() this will affect path generation too.
Eg. If the path is like "/file[.format]" and the default is JSON, "/file" will be read as "/file.json", and when generating a path with JSON this will generate "/file" instead of "/file.json".
Make sure the type has a useful
.equals()implementation. Example:default == defaultshould betrue.