| Package | Description |
|---|---|
| com.flowthings.client.api |
| Modifier and Type | Method and Description |
|---|---|
Request<S> |
Request.addData(String k,
Object o) |
Request<S> |
Request.body(S s) |
Request<Drop> |
DropFromPathApi.create(Drop t) |
Request<Drop> |
DropApi.create(Drop t) |
Request<T> |
DomainObjectApi.create(T t)
Create a new object
|
static <S> Request<List<S>> |
Request.createListRequest(Class<S> domainObjectType,
Request.Action action) |
static <S> Request<S> |
Request.createObjectRequest(Class<S> domainObjectType,
Request.Action action) |
Request<Drop> |
DropApi.delete(String id) |
Request<T> |
DomainObjectApi.delete(String id)
Delete an object by ID
|
Request<Drop> |
DropApi.deleteAll()
Remove all Drops from a Flow.
|
Request<List<T>> |
DomainObjectApi.find()
Find multiple objects using search parameters
|
Request<List<Drop>> |
DropApi.find(QueryOptions queryOptions) |
Request<List<T>> |
DomainObjectApi.find(QueryOptions queryOptions)
Find multiple objects using search parameters
|
Request<S> |
Request.flowId(String flowId) |
Request<Drop> |
DropApi.get(String id) |
Request<T> |
DomainObjectApi.get(String id)
Retrieve a single object by ID
|
Request<S> |
Request.id(String id) |
Request<S> |
Request.member(String member) |
Request<S> |
Request.params(QueryOptions queryOptions) |
Request<Drop> |
DropApi.subscribe(SubscriptionCallback<Drop> callback)
Subscribe to a Flow.
|
Request<Drop> |
DropApi.unsubscribe() |
Request<Drop> |
DropApi.update(String id,
Drop t) |
Request<T> |
MutableDomainObjectApi.update(String id,
T t)
Update an object with new attributes
|
| Modifier and Type | Method and Description |
|---|---|
int |
MockWebsocketApi.getCounter(Request request) |
int |
MockRestApi.getCounter(Request request) |
<S> FlowthingsFuture<S> |
WebsocketApi.send(Request<S> request) |
<S> S |
RestApi.send(Request<S> request) |
<S> FlowthingsFuture<S> |
WebsocketApi.sendAsync(Request<S> request) |
<S> FlowthingsFuture<S> |
RestApi.sendAsync(Request<S> request) |
<S> FlowthingsFuture<S> |
MockRestApi.sendAsync(Request<S> request) |
abstract <S> FlowthingsFuture<S> |
Api.sendAsync(Request<S> request)
A consistent interface for sending requests via multiple APIs
|
protected <S> FlowthingsFuture<S> |
WebsocketApi.sendRequest(Request<S> request) |
protected <S> FlowthingsFuture<S> |
MockWebsocketApi.sendRequest(Request<S> request) |
MockWebsocketApi |
MockWebsocketApi.setAnswer(Request request,
Callable response) |
MockRestApi |
MockRestApi.setAnswer(Request request,
Callable response) |
MockWebsocketApi |
MockWebsocketApi.setAnswerImmediately(Request request,
Object response) |
MockRestApi |
MockRestApi.setAnswerImmediately(Request request,
Object response) |
MockWebsocketApi |
MockWebsocketApi.setAnswers(Request request,
Object... responses) |
MockRestApi |
MockRestApi.setAnswers(Request request,
Object... responses) |
MockWebsocketApi |
MockWebsocketApi.setException(Request request,
FlowthingsException response) |
MockRestApi |
MockRestApi.setException(Request request,
FlowthingsException response) |
Copyright © 2016. All rights reserved.