IndexerEndpointImpl
open class IndexerEndpointImpl<TElementEndpoint : Endpoint>(referrer: Endpoint, relativeUri: URI, elementEndpointFactory: (referrer: Endpoint, relativeUri: URI) -> TElementEndpoint) : AbstractEndpoint, IndexerEndpoint<TElementEndpoint>
Endpoint that addresses child TElementEndpoints by ID.
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.
elementEndpointFactory
The factory for constructing TElementEndpoints to provide for individual elements.
TElementEndpoint
The type of Endpoint to provide for individual elements.
Constructors
Link copied to clipboard
constructor(referrer: Endpoint, relativeUri: URI, elementEndpointFactory: (referrer: Endpoint, relativeUri: URI) -> TElementEndpoint)
constructor(referrer: Endpoint, relativeUri: String, elementEndpointFactory: (referrer: Endpoint, relativeUri: URI) -> TElementEndpoint)
Creates a new indexer endpoint.
Properties
Functions
Link copied to clipboard
Deserializes an entity using the first serializer that supports the body's content type.
Link copied to clipboard
Link copied to clipboard
Returns an element endpoint for a specific child element.
Link copied to clipboard
Retrieves a link template with a specific relation type.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Registers one or more default links for a specific relation type.
Link copied to clipboard
Registers a default link template for a specific relation type.