public static class BodyParser.TemporaryFile extends BodyParser.MaxLengthBodyParser<Files.TemporaryFile>
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 |
---|
TemporaryFile(play.api.http.HttpConfiguration httpConfiguration,
Files.TemporaryFileCreator temporaryFileCreator,
HttpErrorHandler errorHandler,
akka.stream.Materializer materializer) |
TemporaryFile(long maxLength,
Files.TemporaryFileCreator temporaryFileCreator,
HttpErrorHandler errorHandler,
akka.stream.Materializer materializer) |
Modifier and Type | Method and Description |
---|---|
protected Accumulator<akka.util.ByteString,F.Either<Result,Files.TemporaryFile>> |
apply1(Http.RequestHeader request)
Implement this method to implement the actual body parser.
|
apply
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
widen
public TemporaryFile(long maxLength, Files.TemporaryFileCreator temporaryFileCreator, HttpErrorHandler errorHandler, akka.stream.Materializer materializer)
@Inject public TemporaryFile(play.api.http.HttpConfiguration httpConfiguration, Files.TemporaryFileCreator temporaryFileCreator, HttpErrorHandler errorHandler, akka.stream.Materializer materializer)
protected Accumulator<akka.util.ByteString,F.Either<Result,Files.TemporaryFile>> apply1(Http.RequestHeader request)
BodyParser.MaxLengthBodyParser
apply1
in class BodyParser.MaxLengthBodyParser<Files.TemporaryFile>
request
- header for the request to parse