public class GetDocumentAttachment extends AbstractAPIHandler<io.vertx.core.buffer.Buffer>
Handler for returning a file
apiInfo, config, eventBusId, logger, operationId, vertx
Constructor and Description |
---|
GetDocumentAttachment() |
Modifier and Type | Method and Description |
---|---|
protected void |
listenForResponse(EventBusRequestObservable<io.vertx.core.buffer.Buffer> observable,
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, getReqOptions, handle, handleErrorWhileListening, incrementRequestCounter, initHandler, injectIntoObservableValue, listenForBufferResponse, listenForJsonResponse, requestBodyFromAllParams, setObservable
setBodyLimit, setDeleteUploadedFilesOnEnd, setHandleFileUploads, setMergeFormAttributes, setPreallocateBodyBuffer, setUploadsDirectory
protected void listenForResponse(EventBusRequestObservable<io.vertx.core.buffer.Buffer> observable, io.vertx.ext.web.RoutingContext ctx)
listenForResponse
in class AbstractAPIHandler<io.vertx.core.buffer.Buffer>
observable
- 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