An uploaded form.
The form is modelled as a
ratpack.util.MultiValueMap, with extra methods for dealing with file uploads.
That is, uploaded files are not visible via the methods provided by
ratpack.util.MultiValueMap.
All instances of this type are immutable.
Calling any mutative method of
ratpack.util.MultiValueMap will result in an
UnsupportedOperationException.
Example usage:
import ratpack.handling.Handler;);
}
}
}
}
To include the query parameters from the request in the parsed form, use
Form#form(boolean).
This can be useful if you want to support both
GET and
PUT submission with a single handler.