Path
endpoints4s.play.server.Urls.Path
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
Members list
In this article