Multipart
Utilities for handling multipart bodies
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Multipart.type
Members list
Type members
Types
Value members
Concrete methods
Parses the request body into a Multipart body.
Parses the request body into a Multipart body.
Value parameters
- allowEmptyFiles
-
If empty file uploads are allowed (no matter if filename or file is empty)
- errorHandler
-
The error handler to call when an error occurs.
- filePartHandler
-
The accumulator to handle the file parts.
- maxMemoryBufferSize
-
The maximum amount of data to parse into memory.
Attributes
Parses the stream into a stream of play.api.mvc.MultipartFormData.Part to be handled by partHandler.
Parses the stream into a stream of play.api.mvc.MultipartFormData.Part to be handled by partHandler.
Value parameters
- allowEmptyFiles
-
If file uploads are allowed to contain no data in the body
- errorHandler
-
The error handler to call when an error occurs.
- maxMemoryBufferSize
-
The maximum amount of data to parse into memory.
- partHandler
-
The accumulator to handle the parts.
Attributes
Deprecated methods
Parses the request body into a Multipart body.
Parses the request body into a Multipart body.
Value parameters
- errorHandler
-
The error handler to call when an error occurs.
- filePartHandler
-
The accumulator to handle the file parts.
- maxMemoryBufferSize
-
The maximum amount of data to parse into memory.
Attributes
- Deprecated
-
Since 2.9.0. Use the overloaded multipartParser method that takes the allowEmptyFiles flag.
Parses the stream into a stream of play.api.mvc.MultipartFormData.Part to be handled by partHandler.
Parses the stream into a stream of play.api.mvc.MultipartFormData.Part to be handled by partHandler.
Value parameters
- errorHandler
-
The error handler to call when an error occurs.
- maxMemoryBufferSize
-
The maximum amount of data to parse into memory.
- partHandler
-
The accumulator to handle the parts.
Attributes
- Deprecated
-
Since 2.9.0. Use the overloaded partParser method that takes the allowEmptyFiles flag.