PollingEndpointImpl
open class PollingEndpointImpl<TEntity : Any>(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>, endCondition: (TEntity) -> Boolean? = null) : ElementEndpointImpl<TEntity> , PollingEndpoint<TEntity>
Endpoint for a resource that can be polled for state changes.
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 entity the endpoint represents.
endCondition
A check to determine whether the entity has reached its final state and no further polling is required.
Type Parameters
TEntity
The type of entity the endpoint represents.
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
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
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns an Observable stream of entity states. Consecutive items are emitted only when the server-supplied entity differs from the previously emitted one according to Any.equals.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard