Path

endpoints4s.play.client.Urls.Path
trait Path[A] extends Url[A]

An URL path carrying an A information

Values of type Path[A] can be constructed by the operations path, segment, and remainingSegments.

 path / "user" / segment[UUID]("id")
  • Server interpreters raise an error if they can’t parse the incoming request path as a value of type A. By default, they produce a Bad Request (400) response with a list of error messages in a JSON array. Refer to the documentation of your server interpreter to customize this behavior.

Attributes

Note

This type has implicit methods provided by the PathOps, InvariantFunctorSyntax, and the PartialInvariantFunctorSyntax classes.

Graph
Supertypes
trait Url[A]
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def encode(a: A): String

Attributes

Inherited from:
Url