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.

no subtypes hierarchy

Initializer
BodyHandler(BodyHandler unknown)
Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
handleshared default void handle(RoutingContext arg0)
setBodyLimitshared default BodyHandler setBodyLimit(Integer bodyLimit)

Set the maximum body size -1 means unlimited

Parameters:
  • bodyLimit

    the max size

setDeleteUploadedFilesOnEndshared default BodyHandler setDeleteUploadedFilesOnEnd(Boolean deleteUploadedFilesOnEnd)

Set whether uploaded files should be removed after handling the request

Parameters:
  • deleteUploadedFilesOnEnd

    true if uploaded files should be removed after handling the request

setMergeFormAttributesshared default BodyHandler setMergeFormAttributes(Boolean mergeFormAttributes)

Set whether form attributes will be added to the request parameters

Parameters:
  • mergeFormAttributes

    true if they should be merged

setUploadsDirectoryshared default BodyHandler setUploadsDirectory(String uploadsDirectory)

Set the uploads directory to use

Parameters:
  • uploadsDirectory

    the uploads directory

Inherited Methods
Methods inherited from: Object
equals