ConsumerEndpointImpl
inline fun <reified TEntity> ConsumerEndpointImpl(referrer: Endpoint, relativeUri: URI): ConsumerEndpointImpl<TEntity>
Creates a new consumer endpoint, taking the entity type from the reified type argument.
Parameters
referrer
The endpoint used to navigate to this one.
relativeUri
The URI of this endpoint relative to the referrer's.
Type Parameters
TEntity
The type of entity the endpoint takes as input. Can be a generic type such as List<Contact>.
inline fun <reified TEntity> ConsumerEndpointImpl(referrer: Endpoint, relativeUri: String): ConsumerEndpointImpl<TEntity>
Creates a new consumer endpoint, taking the entity type from the reified type argument.
Parameters
referrer
The endpoint used to navigate to this one.
relativeUri
The URI of this endpoint relative to the referrer's. Add a ./ prefix here to imply a trailing slash on referrer's URI.
Type Parameters
TEntity
The type of entity the endpoint takes as input. Can be a generic type such as List<Contact>.