Package org.jboss.resteasy.reactive
Annotation Type MultipartForm
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface MultipartForm
Annotation to be used on POJOs meant to map to the various parts of ofmultipart/form-data
HTTP bodies. Each part of the POJO that should be mapped to a part of the body should be annotated withRestForm
. 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 viaFileUpload
,java.io.File
orjava.nio.file.Path
uploaded files in a blocking manner, that the resource method should be annotated withBlocking
.
-
-
Element Detail
-
value
String value
- Default:
- ""
-
-