ConsumerEndpointImpl

constructor(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>)

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.

entityType

The type of entity the endpoint takes as input.

TEntity

The type of entity the endpoint takes as input.


constructor(referrer: Endpoint, relativeUri: String, entityType: Class<TEntity>)

Creates a new consumer endpoint.

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.

entityType

The type of entity the endpoint takes as input.