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
nullor blank, defaults to the name of the Java method parameter if your application is built with the-parameterscompiler 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:
trueif optional,falseif required
- Default:
false
-