public class GetMailAttachment extends AbstractAPIHandler<io.vertx.core.buffer.Buffer> implements io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
Handler for returning a file from mail
apiInfo, config, eventBusId, logger, operationId, vertx
Constructor and Description |
---|
GetMailAttachment() |
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> 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, 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> 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