urldsl.vocabulary

Type members

Classlikes

trait Codec[Left, Right]

Represents a bijection between Left and Right.

Represents a bijection between Left and Right.

This bijection is supposed to be "exception-free", and be an actual bijection.

Companion
object
object Codec
Companion
class
trait FromString[T, A]
Companion
object
Companion
class
final case class MaybeFragment(value: Option[String]) extends AnyVal

Wrapper around the raw fragment part of the URL.

Wrapper around the raw fragment part of the URL.

None when the URL does not contain any fragment.

final case class Param(content: List[String]) extends AnyVal
Companion
object
object Param
Companion
class
final case class ParamMatchOutput[Q](output: Q, unusedParams: Map[String, Param])
final case class PathMatchOutput[T](output: T, unusedSegments: List[Segment])

Returned type of matching segments against a urldsl.language.PathSegment.

Returned type of matching segments against a urldsl.language.PathSegment.

This is used to avoid returning an ugly tuple.

Value Params
output

the de-serialized element from the matching

unusedSegments

the segments that were not used to generate the output

sealed trait PathQueryFragmentError[+P, +Q, +F]
Companion
object
final case class PathQueryFragmentMatching[P, Q, F](path: P, query: Q, fragment: F)
trait Printer[T]
Companion
object
object Printer
Companion
class
final case class Segment(content: String) extends AnyVal

A Segment is a simple wrapper around a specific String content between two /.

A Segment is a simple wrapper around a specific String content between two /.

Companion
object
object Segment
Companion
class
final case class UrlMatching[P, Q](path: P, params: Q)