MultipartExtractable class final
Decodes a multipart/form-data body.
Every part is buffered rather than streamed, because several @Part
parameters have to read from one pass over the body. limit bounds the
whole body, not each part, so it is not a good fit for large uploads.
- Implemented types
Constructors
- MultipartExtractable({int limit = defaultBodyLimit})
-
Decodes the multipart body.
const
Properties
Methods
-
extract(
Request request) → Future< Result< MultipartForm, Rejection> > -
Produces the value, or the rejection that stops the handler.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited