Package-level declarations

Generic endpoints allow you to model collections and elements.

Types

Link copied to clipboard
abstract class AbstractCachingEndpoint(referrer: Endpoint, relativeUri: URI) : AbstractEndpoint, CachingEndpoint

Base class for building endpoints that use ETags and Last-Modified timestamps for caching and to avoid lost updates.

Link copied to clipboard

Endpoint for a collection of TEntitys addressable as ElementEndpoints.

Link copied to clipboard
Link copied to clipboard

Endpoint for an individual resource.

Link copied to clipboard
open class ElementEndpointImpl<TEntity>(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>) : AbstractCachingEndpoint, ElementEndpoint<TEntity>

Endpoint for an individual resource.

Link copied to clipboard

Endpoint for a collection of TEntitys addressable as TElementEndpoints.

Link copied to clipboard
open class GenericCollectionEndpointImpl<TEntity, TElementEndpoint : ElementEndpoint<TEntity>>(referrer: Endpoint, relativeUri: URI, entityType: Class<TEntity>, elementEndpointFactory: (referrer: Endpoint, relativeUri: URI) -> TElementEndpoint) : AbstractCachingEndpoint, GenericCollectionEndpoint<TEntity, TElementEndpoint>

Endpoint for a collection of TEntitys addressable as TElementEndpoints.

Link copied to clipboard

Endpoint that addresses child TElementEndpoints by ID.

Link copied to clipboard
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.