FunctionEndpointImpl

constructor(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>, 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.

entityType

The type of entity the endpoint takes as input.

resultType

The type of entity the endpoint returns as output.

Type Parameters

TEntity

The type of entity the endpoint takes as input.

TResult

The type of entity the endpoint returns as output.


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

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

resultType

The type of entity the endpoint returns as output.