GenericStreamingCollectionEndpointImpl
open class GenericStreamingCollectionEndpointImpl<TEntity : Any, TElementEndpoint : ElementEndpoint<TEntity>>(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>, elementEndpointFactory: (referrer: Endpoint, relativeUri: URI) -> TElementEndpoint) : GenericCollectionEndpointImpl<TEntity, TElementEndpoint> , GenericStreamingCollectionEndpoint<TEntity, TElementEndpoint>
Endpoint for a collection of TEntitys observable as an append-only stream.
Use the more constrained StreamingCollectionEndpointImpl when possible.
Parameters
referrer
The endpoint used to navigate to this one.
relativeUri
The URI of this endpoint relative to the referrer's.
entityType
The type of individual elements in the collection.
elementEndpointFactory
The factory for constructing TElementEndpoints to provide for individual elements.
Type Parameters
TEntity
The type of individual elements in the collection.
TElementEndpoint
The type of ElementEndpoint to provide for individual TEntitys.
Inheritors
Constructors
Link copied to clipboard
constructor(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>, elementEndpointFactory: (referrer: Endpoint, relativeUri: URI) -> TElementEndpoint)
constructor(referrer: Endpoint, relativeUri: String, entityType: Class<TEntity>, elementEndpointFactory: (referrer: Endpoint, relativeUri: URI) -> TElementEndpoint)
Creates a new streaming collection endpoint.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Interval in which requests are sent to the server. The server may update this interval via the Retry-After response header.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard