Package org.jboss.resteasy.reactive
Annotation Interface MultipartForm
@Deprecated(forRemoval=true)
@Retention(RUNTIME)
@Target({PARAMETER,TYPE})
public @interface MultipartForm
Deprecated, for removal: This API element is subject to removal in a future version.
Annotation to be used on POJOs meant to map to the various parts
of
multipart/form-data
HTTP bodies.
Each part of the POJO that should be mapped to a part of the body should be annotated with RestForm
.
In order to facilitate conversion to the field's body type, PartType
should be used to determine the media
type of the corresponding body part.
It's important to take caution when using such POJOs to read via FileUpload
,
java.io.File
or java.nio.file.Path
uploaded files in a blocking manner, that the resource method should be
annotated with Blocking
.-
Optional Element Summary
-
Element Details
-
value
String valueDeprecated, for removal: This API element is subject to removal in a future version.- Default:
- ""
-
BeanParam
or just omit it entirely, as long as your container class holds any annotated fields withRestForm
,RestCookie
,RestHeader
,RestPath
,RestMatrix
,RestQuery
or their JAX-RS equivalents.