public final class HttpServerFormDecoderProvider extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
HttpServerFormDecoderProvider.Builder |
| Modifier and Type | Method and Description |
|---|---|
Path |
baseDirectory()
Returns the configured directory where to store disk
Attribute/FileUpload. |
Charset |
charset()
Returns the configured charset for
Attribute/FileUpload. |
boolean |
equals(Object o) |
int |
hashCode() |
long |
maxInMemorySize()
Returns the configured maximum size after which an
Attribute/FileUpload starts being stored on disk rather than in memory. |
long |
maxSize()
Returns the configured maximum allowed size of individual
Attribute/FileUpload. |
Scheduler |
scheduler()
Returns the configured scheduler to be used for offloading disk operations in the decoding phase.
|
boolean |
streaming()
Returns whether the streaming mode is enabled.
|
@Nullable public Path baseDirectory()
Attribute/FileUpload.Attribute/FileUploadHttpServerFormDecoderProvider.Builder.baseDirectory(Path)public Charset charset()
Attribute/FileUpload.Attribute/FileUploadHttpServerFormDecoderProvider.Builder.charset(Charset)public long maxInMemorySize()
Attribute/FileUpload starts being stored on disk rather than in memory.Attribute/FileUpload starts being stored on disk rather than in memoryHttpServerFormDecoderProvider.Builder.maxInMemorySize(long)public long maxSize()
Attribute/FileUpload.Attribute/FileUploadHttpServerFormDecoderProvider.Builder.maxSize(long)public Scheduler scheduler()
HttpServerFormDecoderProvider.Builder.scheduler(Scheduler)public boolean streaming()
HttpServerFormDecoderProvider.Builder.streaming(boolean)