SELF - public interface LinkMapperMixin<SELF extends org.nustaq.kontraktor.Actor<SELF>>
| Modifier and Type | Field and Description |
|---|---|
static String |
LinkTableName |
| Modifier and Type | Method and Description |
|---|---|
static void |
auto(org.nustaq.kontraktor.remoting.http.undertow.builder.BldFourK bld,
Object linkMapper) |
SELF |
getActor() |
DataClient |
getDClient() |
String |
handleLinkFailure(String linkId) |
default void |
handleLinkHttp(io.undertow.server.HttpServerExchange httpServerExchange)
assume registration on builder with e.g.
.httpHandler("link", httpServerExchange -> {
httpServerExchange.dispatch();
app.handleLinkHttp(httpServerExchange);
})
|
String |
handleLinkSuccess(String linkId,
org.nustaq.reallive.api.Record linkRecord) |
default org.nustaq.kontraktor.IPromise<String> |
putRecord(org.nustaq.reallive.api.Record rec)
return uuid to use as link
|
static final String LinkTableName
static void auto(org.nustaq.kontraktor.remoting.http.undertow.builder.BldFourK bld,
Object linkMapper)
DataClient getDClient()
String handleLinkSuccess(String linkId, org.nustaq.reallive.api.Record linkRecord)
linkId - linkRecord - String handleLinkFailure(String linkId)
linkId - SELF getActor()
default org.nustaq.kontraktor.IPromise<String> putRecord(org.nustaq.reallive.api.Record rec)
rec - default void handleLinkHttp(io.undertow.server.HttpServerExchange httpServerExchange)
httpServerExchange - Copyright © 2019. All rights reserved.