public class GetMessageBody extends AbstractAPIHandler<io.vertx.core.buffer.Buffer> implements io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
Handler that produces HTML / Text in form of a vert.x buffer
apiInfo, config, eventBusId, logger, operationId, vertx
Constructor and Description |
---|
GetMessageBody() |
Modifier and Type | Method and Description |
---|---|
protected java.util.EnumSet<RequestOptionFlags> |
getReqOptions()
Options to check when looking at header and parameters
|
protected void |
listenForResponse(EventBusRequestObservable<io.vertx.core.buffer.Buffer> incomingObservable,
io.vertx.ext.web.RoutingContext ctx) |
protected io.vertx.core.Future<io.vertx.core.json.JsonObject> |
prepareRequestBody(io.vertx.ext.web.RoutingContext ctx,
io.vertx.core.MultiMap header) |
endWithError, endWithError, endWithError, endWithError, getObservable, handle, handleErrorWhileListening, incrementRequestCounter, initHandler, injectIntoObservableValue, listenForBufferResponse, listenForJsonResponse, requestBodyFromAllParams, setObservable
setBodyLimit, setDeleteUploadedFilesOnEnd, setHandleFileUploads, setMergeFormAttributes, setPreallocateBodyBuffer, setUploadsDirectory
protected java.util.EnumSet<RequestOptionFlags> getReqOptions()
AbstractAPIHandler
Options to check when looking at header and parameters
getReqOptions
in class AbstractAPIHandler<io.vertx.core.buffer.Buffer>
protected void listenForResponse(EventBusRequestObservable<io.vertx.core.buffer.Buffer> incomingObservable, io.vertx.ext.web.RoutingContext ctx)
listenForResponse
in class AbstractAPIHandler<io.vertx.core.buffer.Buffer>
incomingObservable
- The Observable runningprotected io.vertx.core.Future<io.vertx.core.json.JsonObject> prepareRequestBody(io.vertx.ext.web.RoutingContext ctx, io.vertx.core.MultiMap header)
prepareRequestBody
in class AbstractAPIHandler<io.vertx.core.buffer.Buffer>
ctx
- header
- The header for the EventBus