Waypoint

class Waypoint[PathErr, QueryErr, FragErr](val pathError: PathMatchingError[PathErr], val queryError: ParamMatchingError[QueryErr], val fragmentError: FragmentMatchingError[FragErr]) extends PathSegmentImpl[PathErr] with QueryParametersImpl[QueryErr] with FragmentImpl[FragErr]
trait FragmentImpl[FragErr]
trait QueryParametersImpl[QueryErr]
trait PathSegmentImpl[PathErr]
class Object
trait Matchable
class Any

Value members

Inherited methods

final def emptyFragment: Fragment[Unit, FragErr]

Returns a Fragment imposing that the URL does not contain any fragment.

Returns a Fragment imposing that the URL does not contain any fragment.

Note that a URL ending with "#" is considered having no fragment.

Inherited from
FragmentImpl
final def fragment[T](fromString: FromString[T, FragErr], printer: Printer[T]): Fragment[T, FragErr]

Returns a Fragment matching an element of type T. If the fragment is missing, it fails with a missing fragment error.

Returns a Fragment matching an element of type T. If the fragment is missing, it fails with a missing fragment error.

Inherited from
FragmentImpl
def listParam[Q](paramName: String)(fromString: FromString[Q, QueryErr], printer: Printer[Q]): QueryParameters[List[Q], QueryErr]
Inherited from
QueryParametersImpl
final def maybeFragment[T](fromString: FromString[T, FragErr], printer: Printer[T]): Fragment[Option[T], FragErr]

Returns a Fragment matching an element of type T. If the fragment is missing, it succeeds with None.

Returns a Fragment matching an element of type T. If the fragment is missing, it succeeds with None.

Inherited from
FragmentImpl
def oneOf[T](t: T, ts: T*)(fromString: FromString[T, PathErr], printer: Printer[T]): PathSegment[Unit, PathErr]
Inherited from
PathSegmentImpl
def param[Q](paramName: String)(fromString: FromString[Q, QueryErr], printer: Printer[Q]): QueryParameters[Q, QueryErr]
Inherited from
QueryParametersImpl
def segment[T](fromString: FromString[T, PathErr], printer: Printer[T]): PathSegment[T, PathErr]
Inherited from
PathSegmentImpl

Inherited fields

lazy val endOfSegments: PathSegment[Unit, PathErr]
Inherited from
PathSegmentImpl
val ignore: QueryParameters[Unit, QueryErr]
Inherited from
QueryParametersImpl
lazy val noMatch: PathSegment[Unit, PathErr]
Inherited from
PathSegmentImpl
val remainingSegments: PathSegment[List[String], PathErr]
Inherited from
PathSegmentImpl
val root: PathSegment[Unit, PathErr]
Inherited from
PathSegmentImpl

Deprecated and Inherited fields

@deprecated("empty was poorly named, and is replaced by `ignore`. The semantic for empty might change in the future!", since = "0.3.0")
val empty: QueryParameters[Unit, QueryErr]
Deprecated
[Since version 0.3.0]
Inherited from
QueryParametersImpl

Implicits

Inherited implicits

final implicit def asFragment[T](t: T)(fromString: FromString[T, FragErr], printer: Printer[T], classTag: ClassTag[T]): Fragment[Unit, FragErr]
Inherited from
FragmentImpl
implicit def unaryPathSegment[T](t: T)(fromString: FromString[T, PathErr], printer: Printer[T]): PathSegment[Unit, PathErr]
Inherited from
PathSegmentImpl