static BodyHandler |
BodyHandler.create() |
Create a body handler with defaults.
|
static BodyHandler |
BodyHandler.create(boolean handleFileUploads) |
Create a body handler setting if it should handle file uploads.
|
static BodyHandler |
BodyHandler.create(String uploadDirectory) |
Create a body handler and use the given upload directory.
|
static BodyHandler |
BodyHandler.newInstance(BodyHandler arg) |
|
BodyHandler |
BodyHandler.setBodyLimit(long bodyLimit) |
Set the maximum body size in bytes, -1 means no limit.
|
BodyHandler |
BodyHandler.setDeleteUploadedFilesOnEnd(boolean deleteUploadedFilesOnEnd) |
Set whether uploaded files should be removed after handling the request.
|
BodyHandler |
BodyHandler.setHandleFileUploads(boolean handleFileUploads) |
Set whether file uploads will be handled.
|
BodyHandler |
BodyHandler.setMergeFormAttributes(boolean mergeFormAttributes) |
Set whether form attributes will be added to the request parameters.
|
BodyHandler |
BodyHandler.setPreallocateBodyBuffer(boolean isPreallocateBodyBuffer) |
Pre-allocate the body buffer according to the value parsed from content-length header.
|
BodyHandler |
BodyHandler.setUploadsDirectory(String uploadsDirectory) |
Set the uploads directory to use.
|