ProducerEndpointImpl

constructor(referrer: Endpoint, relativeUri: URI, resultType: Class<TResult>)

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.

resultType

The type of entity the endpoint returns as output.

TResult

The type of entity the endpoint returns as output.


constructor(referrer: Endpoint, relativeUri: String, resultType: Class<TResult>)

Creates a new producer 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.

resultType

The type of entity the endpoint returns as output.