| Package | Description |
|---|---|
| org.esbtools.eventhandler.lightblue.client |
Contains implementations of
Requester for bridging
Future-based APIs with efficient, "batch-able" requests (see
BulkLightblueRequester). |
| Modifier and Type | Method and Description |
|---|---|
static LightblueResponse |
LightblueResponse.fromClientResponse(com.redhat.lightblue.client.response.LightblueResponse response)
Wraps a response from the lightblue client library which may or may not be successful in a
type which allows easily querying whether or not the response was successful and getting at
the right type of response.
|
| Modifier and Type | Method and Description |
|---|---|
default TransformableFuture<? extends Responses<com.redhat.lightblue.client.request.CRUDRequest,LightblueResponse>> |
LightblueRequester.tryRequest(Collection<? extends com.redhat.lightblue.client.request.CRUDRequest> req)
Like
Requester.request(Collection), except with relaxed failure conditions so that listeners
to this future result may examine and transform errors from lightblue in addition to
successful responses. |
TransformableFuture<? extends Responses<com.redhat.lightblue.client.request.CRUDRequest,LightblueResponse>> |
LightblueRequester.tryRequest(com.redhat.lightblue.client.request.CRUDRequest... req)
Like
Requester.request(Object[]), except with relaxed failure conditions so that listeners to
this future result may examine and transform errors from lightblue in addition to successful
responses. |
Copyright © 2017. All rights reserved.