ResolvedEndpoint

A resolved Endpoint.

The AnyEndpoint interface represents the declaration of an endpoint. For example, GET /api/users/{user} is not a 'real' endpoint. This class, ResolvedEndpoint, represents 'real' endpoints: 'GET /api/users/111' and 'GET /api/users/222' are possible values of this class.

To resolve an endpoint, start by resolving its resource then follow with the endpoint:

println(Root / Users / User("999") / User.get)

Properties

Link copied to clipboard
val data: E
Link copied to clipboard
open override val path: Path
Link copied to clipboard