Class: BodyHandler

vertx-web-js/body_handler~ BodyHandler

new BodyHandler()

Source:

Methods

handle(arg0)

Parameters:
Name Type Description
arg0 RoutingContext
Source:

setBodyLimit(bodyLimit) → {BodyHandler}

Set the maximum body size -1 means unlimited
Parameters:
Name Type Description
bodyLimit number the max size
Source:
Returns:
reference to this for fluency
Type
BodyHandler

setDeleteUploadedFilesOnEnd(deleteUploadedFilesOnEnd) → {BodyHandler}

Set whether uploaded files should be removed after handling the request
Parameters:
Name Type Description
deleteUploadedFilesOnEnd boolean true if uploaded files should be removed after handling the request
Source:
Returns:
reference to this for fluency
Type
BodyHandler

setMergeFormAttributes(mergeFormAttributes) → {BodyHandler}

Set whether form attributes will be added to the request parameters
Parameters:
Name Type Description
mergeFormAttributes boolean true if they should be merged
Source:
Returns:
reference to this for fluency
Type
BodyHandler

setUploadsDirectory(uploadsDirectory) → {BodyHandler}

Set the uploads directory to use
Parameters:
Name Type Description
uploadsDirectory string the uploads directory
Source:
Returns:
reference to this for fluency
Type
BodyHandler