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) |
listenForResponse
endWithError, endWithError, endWithError, endWithError, getObservable, getReqOptions, handle, handleErrorWhileListening, incrementRequestCounter, initHandler, listenForBufferResponse, listenForJsonResponse, requestBodyFromAllParams, setObservable
setBodyLimit, setDeleteUploadedFilesOnEnd, setHandleFileUploads, setMergeFormAttributes, setPreallocateBodyBuffer, setUploadsDirectory
protected io.vertx.core.json.JsonArray injectIntoObservableValue(io.vertx.core.json.JsonArray value)
AbstractAPIHandler
Allows 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 DefaultJsonHandler
ctx
- header
- The header for the EventBus