|
| StreamEndpointImpl (Endpoint referrer, URI relativeUri, Class< TEntity > entityType) |
| Creates a new stream endpoint. More...
|
|
| StreamEndpointImpl (Endpoint referrer, String relativeUri, Class< TEntity > entityType) |
| Creates a new stream endpoint. More...
|
|
StoppableObservable< TEntity > | getObservable (long startIndex) |
|
default StoppableObservable< TEntity > | getObservable () |
| Provides an observable stream of elements. More...
|
|
StoppableObservable< TEntity > | getObservable (long startIndex) |
| Provides an observable stream of elements. More...
|
|
default boolean | contains (String id) throws IOException, IllegalAccessException |
| Determines whether the collection contains a specific entity. More...
|
|
default boolean | contains (TEntity element) throws IOException, IllegalAccessException |
| Determines whether the collection contains a specific entity. More...
|
|
default TEntity | set (TEntity element) throws IOException, IllegalArgumentException, IllegalAccessException, FileNotFoundException, IllegalStateException |
| Sets/replaces an existing element in the collection. More...
|
|
default TEntity | merge (TEntity element) throws IOException, IllegalArgumentException, IllegalAccessException, FileNotFoundException, IllegalStateException |
| Modifies an existing element in the collection by merging changes. More...
|
|
default void | delete (String id) throws IOException, IllegalArgumentException, IllegalAccessException, FileNotFoundException, IllegalStateException |
| Deletes an existing element from the collection. More...
|
|
default void | delete (TEntity element) throws IOException, IllegalArgumentException, IllegalAccessException, FileNotFoundException, IllegalStateException |
| Deletes an existing element from the collection. More...
|
|
Class< TEntity > | getEntityType () |
| Returns the type of entity the endpoint represents. More...
|
|
TElementEndpoint | get (String id) |
| Returns a ElementEndpoint for a specific child element of this collection. More...
|
|
TElementEndpoint | get (TEntity entity) |
| Returns a ElementEndpoint for a specific child element of this collection. More...
|
|
Optional< Boolean > | isReadAllAllowed () |
| Shows whether the server has indicated that readAll() is currently allowed. More...
|
|
List< TEntity > | readAll () throws IOException, IllegalArgumentException, IllegalAccessException, FileNotFoundException, IllegalStateException |
| Returns all TEntity s. More...
|
|
Optional< Boolean > | isReadRangeAllowed () |
| Shows whether the server has indicated that readRange(Long,Long) is allowed. More...
|
|
PartialResponse< TEntity > | readRange (Long from, Long to) throws IOException, IllegalArgumentException, IllegalAccessException, FileNotFoundException, IllegalStateException |
| Returns all TElementEndpoint s within a specific range of the set. More...
|
|
Optional< Boolean > | isCreateAllowed () |
| Shows whether the server has indicated that create(java.lang.Object) is currently allowed. More...
|
|
TElementEndpoint | create (TEntity entity) throws IOException, IllegalArgumentException, IllegalAccessException, FileNotFoundException, IllegalStateException |
| Creates a new TEntity . More...
|
|
Optional< Boolean > | isCreateAllAllowed () |
| Shows whether the server has indicated that createAll(java.lang.Iterable) is currently allowed. More...
|
|
void | createAll (Iterable< TEntity > entities) throws IOException, IllegalArgumentException, IllegalAccessException, FileNotFoundException, IllegalStateException |
| Creates multiple new TEntity s. More...
|
|
Optional< Boolean > | isSetAllAllowed () |
| Shows whether the server has indicated that setAll(java.util.Collection) is currently allowed. More...
|
|
void | setAll (Collection< TEntity > entities) throws IOException, IllegalArgumentException, IllegalAccessException, FileNotFoundException |
| Replaces the entire content of the collection with new TEntity s. More...
|
|
REST endpoint that represents a stream of TEntity
s as ElementEndpoints.
- Parameters
-
<TEntity> | The type of entity the endpoint represents. |