public class GenerateKeepApplicationSecret extends DefaultJsonHandler
Generates an application secret and sends the salted hash to be stored in the database
apiInfo, config, eventBusId, logger, operationId, vertx| Constructor and Description |
|---|
GenerateKeepApplicationSecret() |
| Modifier and Type | Method and Description |
|---|---|
protected io.vertx.core.json.JsonArray |
injectIntoObservableValue(io.vertx.core.json.JsonArray value)
Allows us to modify the response value based on the handler.
|
protected io.vertx.core.Future<io.vertx.core.json.JsonObject> |
prepareRequestBody(io.vertx.ext.web.RoutingContext ctx,
io.vertx.core.MultiMap header) |
listenForResponseendWithError, endWithError, endWithError, endWithError, getObservable, getReqOptions, handle, handleErrorWhileListening, incrementRequestCounter, initHandler, listenForBufferResponse, listenForJsonResponse, requestBodyFromAllParams, setObservablesetBodyLimit, setDeleteUploadedFilesOnEnd, setHandleFileUploads, setMergeFormAttributes, setPreallocateBodyBuffer, setUploadsDirectoryprotected io.vertx.core.json.JsonArray injectIntoObservableValue(io.vertx.core.json.JsonArray value)
AbstractAPIHandlerAllows us to modify the response value based on the handler. This enables generating content in the handler, not passing it over the event bus, but including it in the response.
injectIntoObservableValue in class AbstractAPIHandler<io.vertx.core.json.JsonArray>protected io.vertx.core.Future<io.vertx.core.json.JsonObject> prepareRequestBody(io.vertx.ext.web.RoutingContext ctx,
io.vertx.core.MultiMap header)
prepareRequestBody in class DefaultJsonHandlerctx - header - The header for the EventBus