Package | Description |
---|---|
co.ecg.alpaca.toolkit.messaging.request | |
co.ecg.alpaca.toolkit.messaging.response |
Modifier and Type | Method and Description |
---|---|
ResponseBundle |
RequestBundle.call() |
ResponseBundle |
RequestBundle.execute(OCSClient ocsClient,
String responseString)
This generates a Response object from a Request.
|
ResponseBundle |
RequestBundle.fire()
This generates a Response object from a Request.
|
Modifier and Type | Method and Description |
---|---|
Future<ResponseBundle> |
RequestBundler.fire()
Fires the RequestBundler.
|
<R extends Response> |
RequestBundler.put(Request<R> request,
Consumer<R> consumer)
Adds a Request to the RequestBundler to be completed in the next outgoing bundle.
|
<R extends Response> |
RequestBundler.put(Request<R> request,
Consumer<R> consumer,
boolean forceFire)
Adds a Request to the RequestBundler to be completed in the next outgoing bundle.
|
Future<ResponseBundle> |
RequestBundler.resendAlone(Request<? extends Response> request)
Resends a Request that already has a response handler in the RequestMap.
|
Modifier and Type | Method and Description |
---|---|
<R extends Response> |
RequestBundler.postResponse(Request<R> request,
ResponseBundle responseBundle)
Posts the response from the response bundle to the mapped request.
|
Modifier and Type | Method and Description |
---|---|
ResponseBundle |
ResponseBundleHandler.call() |
static ResponseBundle |
ResponseBundle.getResponseBundle(String responseContent,
RequestBundle requestBundle)
This creates an object that extends the Response class with the given
response content.
|
Modifier and Type | Method and Description |
---|---|
void |
ResponseBundleHandler.setResponseBundle(ResponseBundle responseBundle) |
Copyright © 2017 ECG. All rights reserved.