You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2013/10/28 22:04:31 UTC
[jira] [Resolved] (CXF-5351) Support @DefaultValue with @Multipart
[ https://issues.apache.org/jira/browse/CXF-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-5351.
-----------------------------------
Resolution: Implemented
Assignee: Sergey Beryozkin
Great, thanks for validating it,
cheers, Sergey
> Support @DefaultValue with @Multipart
> -------------------------------------
>
> Key: CXF-5351
> URL: https://issues.apache.org/jira/browse/CXF-5351
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Affects Versions: 2.7.7
> Reporter: Fabien Thouny
> Assignee: Sergey Beryozkin
> Priority: Minor
>
> It would be nice to be able to use @DefaultValue with @Multipart like we do other @*Param
> {code}
> @POST
> @Consumes("multipart/form-data")
> @Produces("application/xml")
> Response someResource(
> @DefaultValue("default value") @Multipart(value = "someParam", required = "false") String someParam);
> {code}
> I'm not sure if "required=false" should be mandatory. Perhaps it should be implied by @DefaultValue ?
--
This message was sent by Atlassian JIRA
(v6.1#6144)