object Multipart
Ordering
- Alphabetic
- By Inheritance
Inherited
- Multipart
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
Value Members
- def handleFilePartAsTemporaryFile(temporaryFileCreator: TemporaryFileCreator): FilePartHandler[TemporaryFile]
-
def
multipartParser[A](maxMemoryBufferSize: Int, filePartHandler: FilePartHandler[A], errorHandler: HttpErrorHandler)(implicit mat: Materializer): BodyParser[MultipartFormData[A]]
Parses the request body into a Multipart body.
Parses the request body into a Multipart body.
- maxMemoryBufferSize
The maximum amount of data to parse into memory.
- filePartHandler
The accumulator to handle the file parts.
-
def
partParser[A](maxMemoryBufferSize: Int, errorHandler: HttpErrorHandler)(partHandler: Accumulator[Part[Source[ByteString, _]], Either[Result, A]])(implicit mat: Materializer): BodyParser[A]
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
.- maxMemoryBufferSize
The maximum amount of data to parse into memory.
- partHandler
The accumulator to handle the parts.