Fabien Thouny created CXF-5352:
----------------------------------
Summary: Add to @Multipart support types that have constructors
accepting a String parameter or static valueOf(String s) methods
Key: CXF-5352
URL: https://issues.apache.org/jira/browse/CXF-5352
Project: CXF
Issue Type: Improvement
Components: JAX-RS
Affects Versions: 2.7.7
Reporter: Fabien Thouny
Priority: Minor
For the moment, it's not possible to have the following resource :
{code}
@POST
@Produces("application/json")
@Consumes("multipart/form-data")
public Response multipartWithBeanAndEnum(
@Multipart("input") BeanWithStringConstructor input,
@Multipart("someEnum") SomeEnum someEnum) {
[...]
}
{code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)