public abstract static class BodyParser.DelegatingMultipartFormDataBodyParser<A> extends BodyParser.MaxLengthBodyParser<Http.MultipartFormData<A>>
BodyParser.AnyContent, BodyParser.BufferingBodyParser<A>, BodyParser.Bytes, BodyParser.CompletableBodyParser<A>, BodyParser.Default, BodyParser.DelegatingBodyParser<A,B>, BodyParser.DelegatingMultipartFormDataBodyParser<A>, BodyParser.Empty, BodyParser.FormUrlEncoded, BodyParser.Json, BodyParser.MaxLengthBodyParser<A>, BodyParser.MultipartFormData, BodyParser.Of, BodyParser.Raw, BodyParser.TemporaryFile, BodyParser.Text, BodyParser.ToFile, BodyParser.TolerantJson, BodyParser.TolerantText, BodyParser.TolerantXml, BodyParser.Xml
Constructor and Description |
---|
DelegatingMultipartFormDataBodyParser(akka.stream.Materializer materializer,
long maxLength,
play.api.http.HttpErrorHandler errorHandler)
Deprecated.
Deprecated as of 2.8.0. Use
#DelegatingMultipartFormDataBodyParser(Materializer, long, long, HttpErrorHandler)
instead. |
DelegatingMultipartFormDataBodyParser(akka.stream.Materializer materializer,
long maxMemoryBufferSize,
long maxLength,
HttpErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
Accumulator<akka.util.ByteString,F.Either<Result,Http.MultipartFormData<A>>> |
apply1(Http.RequestHeader request)
Delegates underlying functionality to another body parser and converts the result to Java
API.
|
abstract Function<play.core.parsers.Multipart.FileInfo,Accumulator<akka.util.ByteString,Http.MultipartFormData.FilePart<A>>> |
createFilePartHandler()
Returns a FilePartHandler expressed as a Java function.
|
apply
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
widen
@Deprecated public DelegatingMultipartFormDataBodyParser(akka.stream.Materializer materializer, long maxLength, play.api.http.HttpErrorHandler errorHandler)
#DelegatingMultipartFormDataBodyParser(Materializer, long, long, HttpErrorHandler)
instead.public DelegatingMultipartFormDataBodyParser(akka.stream.Materializer materializer, long maxMemoryBufferSize, long maxLength, HttpErrorHandler errorHandler)
public abstract Function<play.core.parsers.Multipart.FileInfo,Accumulator<akka.util.ByteString,Http.MultipartFormData.FilePart<A>>> createFilePartHandler()
public Accumulator<akka.util.ByteString,F.Either<Result,Http.MultipartFormData<A>>> apply1(Http.RequestHeader request)
apply1
in class BodyParser.MaxLengthBodyParser<Http.MultipartFormData<A>>
request
- header for the request to parse