| Package | Description | 
|---|---|
| io.vertx.ext.web.api.contract | |
| io.vertx.ext.web.handler | |
| io.vertx.reactivex.ext.web.handler | |
| io.vertx.rxjava.ext.web.handler | 
| Modifier and Type | Method and Description | 
|---|---|
RouterFactory | 
RouterFactory.setBodyHandler(BodyHandler bodyHandler)
Supply your own BodyHandler if you would like to control body limit, uploads directory and deletion of uploaded files 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
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 
 | 
| Modifier and Type | Method and Description | 
|---|---|
BodyHandler | 
BodyHandler.getDelegate()  | 
| Modifier and Type | Method and Description | 
|---|---|
static BodyHandler | 
BodyHandler.newInstance(BodyHandler arg)  | 
| Constructor and Description | 
|---|
BodyHandler(BodyHandler delegate)  | 
| Modifier and Type | Method and Description | 
|---|---|
BodyHandler | 
BodyHandler.getDelegate()  | 
| Modifier and Type | Method and Description | 
|---|---|
static BodyHandler | 
BodyHandler.newInstance(BodyHandler arg)  | 
| Constructor and Description | 
|---|
BodyHandler(BodyHandler delegate)  | 
Copyright © 2023 Eclipse. All rights reserved.