Annotation Type Multipart
Annotate a JAX-RS function parameter to receive data from a multipart 'part'.
-
Optional Element Summary
-
Element Details
-
value
String valueThe name of the MIME part to map to this parameter. The default is the unnamed default part.- Default:
- ""
-
type
String typeSelect the part by MIME type. The default is to match any MIME type.- Default:
- "*/*"
-
required
boolean requiredHow to handle a missing part. By default, if no part matches, theMultipartProvider
throws aWebApplicationException
with status 400. If this option is set to false, the parameter is set to null instead.- Default:
- true
-