Url

io.hireproof.structure.Url
See theUrl companion object
sealed abstract class Url[A] extends Structure[A]

Attributes

Companion:
object
Graph
Supertypes
trait Structure[A]
class Object
trait Matchable
class Any
Self type
Url[A]

Members list

Concise view

Type members

Types

final override type Self[a] = Url[a]

Value members

Abstract methods

def fromPathAndQueriesChainsWithRemainders(path: Chain[String], queries: Chain[(String, String)]): Validated[Errors, (Chain[String], Chain[(String, String)], A)]
def path: Path[_]
def toPathStringChain(a: A): Chain[String]
def toQueriesStringChain(a: A): Chain[(String, String)]

Concrete methods

final def &+[T](query: Query[T])(implicit evidence: Merger[(A, T)]): Url[Out]
final def /(name: String): Url[A]
final def /[T](parameter: Parameter[T])(implicit evidence: Merger[(A, T)]): Url[Out]
final def fromPathAndQueriesChains(path: Chain[String], queries: Chain[(String, String)]): Validated[Errors, A]
final def matches(path: Chain[String]): Boolean
final def toString(a: A): String
final def zipParameter[T](parameter: Parameter[T]): Url[(A, T)]
final def zipPath[T](value: Path[T]): Url[(A, T)]
final def zipQueries[T](value: Queries[T]): Url[(A, T)]
final def zipQuery[T](query: Query[T]): Url[(A, T)]
final def zipSegment(name: String): Url[A]

Inherited methods

final def const(value: => A): Self[Unit]

Attributes

Inherited from:
Structure
final def imap[T](f: A => T)(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def ivalidate[T](validation: Validation[A, T])(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def merge[T](implicit evidence: Aux[A, T]): Self[T]

Attributes

Inherited from:
Structure
final def validate(validation: Validation[A, A]): Self[A]

Attributes

Inherited from:
Structure