ElementEndpointImpl
inline fun <reified TEntity> ElementEndpointImpl(referrer: Endpoint, relativeUri: URI): ElementEndpointImpl<TEntity>
Creates a new element 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 represents. Can be a generic type such as Page<Contact>.
inline fun <reified TEntity> ElementEndpointImpl(referrer: Endpoint, relativeUri: String): ElementEndpointImpl<TEntity>
Creates a new element 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 represents. Can be a generic type such as Page<Contact>.