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, E]

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](implicit fromString: FromString[T, FragErr], printer: Printer[T]): Fragment[T, E]

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)(implicit fromString: FromString[Q, QueryErr], printer: Printer[Q]): QueryParameters[List[Q], A]
Inherited from:
QueryParametersImpl
final def maybeFragment[T](implicit fromString: FromString[T, FragErr], printer: Printer[T]): Fragment[Option[T], E]

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*)(implicit fromString: FromString[T, PathErr], printer: Printer[T]): PathSegment[Unit, A]
Inherited from:
PathSegmentImpl
def param[Q](paramName: String)(implicit fromString: FromString[Q, QueryErr], printer: Printer[Q]): QueryParameters[Q, A]
Inherited from:
QueryParametersImpl
def segment[T](implicit fromString: FromString[T, PathErr], printer: Printer[T]): PathSegment[T, A]
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

val empty: QueryParameters[Unit, QueryErr]
Deprecated
[Since version 0.3.0]
Inherited from:
QueryParametersImpl

Implicits

Inherited implicits

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