sealed trait Route[Args] extends AnyRef
- Alphabetic
- By Inheritance
- Route
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
parse(path: Path): Option[(Args, Path)]
Parse given Path
Parse given Path
If successful, the result contains the parsed arguments as well as the updated Path object. If the path was fully parsed, all of its fields should be empty.
Use parseArgs or parseArgsStrict if you are only interested in the parsed arguments.
- returns
Some((parsed arguments, updated path))
- abstract def url(args: Args): String
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def &(params: Params.type): ParamsRoute[Args]
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(args: Args): String
Generate URL for given arguments
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
parse(uri: String): Option[(Args, Path)]
Parse given URI
Parse given URI
- See also
parse(path: Path)
-
def
parseArgs(uri: String): Option[Args]
Parse arguments of given URI
Parse arguments of given URI
- See also
parseArgs(path: Path)
-
def
parseArgs(path: Path): Option[Args]
Parse arguments of given Path
Parse arguments of given Path
This returns None if
path
contains additional trailing elements missing from the route. -
def
parseArgsStrict(uri: String): Option[Args]
Parse arguments of given URI
Parse arguments of given URI
- See also
parseArgsStrict(path: Path)
-
def
parseArgsStrict(path: Path): Option[Args]
Parse arguments of given Path
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unapply(uri: String): Option[Args]
Parse arguments for given URI
Parse arguments for given URI
- See also
-
def
unapply(path: Path): Option[Args]
Parse arguments for given Path
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()