Annotation Interface Multipart
Apply to Resource Method parameters to enable HTML multipart form parameter injection.
Refer to documentation at https://www.soklet.com/docs/request-handling#multipart-form-data for details.
- Author:
- Mark Allen
-
Optional Element Summary
Optional Elements
-
Element Details
-
name
The name of the HTML multipart form parameter.If
null
or blank, defaults to the name of the Java method parameter if your application is built with the-parameters
compiler option.- Returns:
- the name of the HTML multipart form parameter to inject into this Resource Method parameter
- Default:
""
-
optional
boolean optionalIs this HTML multipart form parameter optional or required?- Returns:
true
if optional,false
if required
- Default:
false
-