open class BodyHandler : Handler<RoutingContext>
A handler which gathers the entire request body and sets it on the .
It also handles HTTP file uploads and can be used to limit body sizes.
NOTE: This class has been automatically generated from the io.vertx.ext.web.handler.BodyHandler non RX-ified interface using Vert.x codegen.
BodyHandler(delegate: BodyHandler) |
static val __TYPE_ARG: TypeArg<BodyHandler> |
open static fun create(): BodyHandler
Create a body handler with defaults open static fun create(uploadDirectory: String): BodyHandler
Create a body handler and use the given upload directory. |
|
open fun equals(other: Any?): Boolean |
|
open fun getDelegate(): BodyHandler |
|
open fun handle(arg0: RoutingContext): Unit |
|
open fun hashCode(): Int |
|
open static fun newInstance(arg: BodyHandler): BodyHandler |
|
open fun setBodyLimit(bodyLimit: Long): BodyHandler
Set the maximum body size -1 means unlimited |
|
open fun setDeleteUploadedFilesOnEnd(deleteUploadedFilesOnEnd: Boolean): BodyHandler
Set whether uploaded files should be removed after handling the request |
|
open fun setMergeFormAttributes(mergeFormAttributes: Boolean): BodyHandler
Set whether form attributes will be added to the request parameters |
|
open fun setUploadsDirectory(uploadsDirectory: String): BodyHandler
Set the uploads directory to use |
|
open fun toString(): String |