PathMatcher

frontroute.PathMatcher
See thePathMatcher companion object
abstract class PathMatcher[T]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Abstract methods

def apply(consumed: List[String], path: List[String]): PathMatchResult[T]

Concrete methods

def /[V](other: PathMatcher[V])(implicit compose: Composition[T, V]): PathMatcher[Composed]
def as[O](f: T => O): PathMatcher[O]
def collect[V](f: PartialFunction[T, V]): PathMatcher[V]
def emap[V](f: T => Either[String, V]): PathMatcher[V]
def filter(f: T => Boolean): PathMatcher[T]
def flatMap[V](f: T => PathMatcher[V]): PathMatcher[V]
def map[V](f: T => V): PathMatcher[V]
def mapTo[V](value: => V): PathMatcher[V]
def recover[V >: T](default: => V): PathMatcher[V]
def tryParse[V](f: T => V): PathMatcher[V]
def unary_!: PathMatcher[Unit]
def void: PathMatcher[Unit]
def withFilter(f: T => Boolean): PathMatcher[T]