Package | Description |
---|---|
io.simplesource.saga.action.http |
Modifier and Type | Field and Description |
---|---|
java.util.function.BiConsumer<HttpRequest<K,B>,Callback<O>> |
HttpSpec.asyncHttpFunction |
Modifier and Type | Method and Description |
---|---|
static <K> HttpRequest<K,?> |
HttpRequest.of(K key,
HttpRequest.HttpVerb verb,
String url) |
static <K> HttpRequest<K,?> |
HttpRequest.of(K key,
HttpRequest.HttpVerb verb,
String url,
String topicName) |
static <K,B> HttpRequest<K,B> |
HttpRequest.of(K key,
HttpRequest.HttpVerb verb,
String url,
String topicName,
B body) |
Modifier and Type | Method and Description |
---|---|
io.simplesource.data.Result<Throwable,HttpRequest<K,B>> |
HttpRequest.HttpRequestDecoder.decode(A input) |
Modifier and Type | Method and Description |
---|---|
Optional<UndoCommand<A>> |
HttpSpec.UndoFunction.apply(HttpRequest<K,B> decodedInput,
O output)
The UndoFunction is a mechanism to take the result of the async http invocation and turning it into an
undo action command.
|
Copyright © 2019. All rights reserved.