public static interface HttpServerFormDecoderProvider.Builder
| Modifier and Type | Method and Description | 
|---|---|
HttpServerFormDecoderProvider.Builder | 
baseDirectory(Path baseDirectory)
Sets the directory where to store disk  
Attribute/FileUpload. | 
HttpServerFormDecoderProvider.Builder | 
charset(Charset charset)
 | 
HttpServerFormDecoderProvider.Builder | 
maxInMemorySize(long maxInMemorySize)
Sets the maximum in-memory size per  
Attribute/FileUpload i.e. | 
HttpServerFormDecoderProvider.Builder | 
maxSize(long maxSize)
Set the maximum size per  
Attribute/FileUpload. | 
HttpServerFormDecoderProvider.Builder | 
scheduler(Scheduler scheduler)
Sets the scheduler to be used for offloading disk operations in the decoding phase. 
 | 
HttpServerFormDecoderProvider.Builder | 
streaming(boolean enable)
When set to  
true, the data is streamed directly from the parsed input buffer stream,
 which means it is not stored either in memory or file. | 
HttpServerFormDecoderProvider.Builder baseDirectory(Path baseDirectory)
Attribute/FileUpload.
 Default to generated temp directory.baseDirectory - directory where to store disk Attribute/FileUploadthisHttpServerFormDecoderProvider.Builder charset(Charset charset)
charset - the charset for Attribute/FileUploadthisHttpServerFormDecoderProvider.Builder maxInMemorySize(long maxInMemorySize)
Attribute/FileUpload i.e. the data is written
 on disk if the size is greater than maxInMemorySize, else it is in memory.
 Default to DefaultHttpDataFactory.MINSIZE.
 Note:
-1 the entire contents is stored in memory0 the entire contents is stored on diskmaxInMemorySize - the maximum in-memory sizethisHttpServerFormDecoderProvider.Builder maxSize(long maxSize)
Attribute/FileUpload. When the limit is reached, an exception is raised.
 Default to DefaultHttpDataFactory.MAXSIZE - unlimited.
 Note: If set to -1 this means no limitation.
maxSize - the maximum size allowed for an individual attribute/fileUploadthisHttpServerFormDecoderProvider.Builder scheduler(Scheduler scheduler)
Schedulers.boundedElastic()scheduler - the scheduler to be used for offloading disk operations in the decoding phasethisHttpServerFormDecoderProvider.Builder streaming(boolean enable)
true, the data is streamed directly from the parsed input buffer stream,
 which means it is not stored either in memory or file.
 When false, parts are backed by in-memory and/or file storage. Default to false.
 NOTE that with streaming enabled, the provided Attribute/FileUpload
 might not be in a complete state i.e. HttpData.isCompleted() has to be checked.
 
Also note that enabling this property effectively ignores
 maxInMemorySize(long),
 baseDirectory(Path), and
 scheduler(Scheduler).