You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by James Carman <jw...@gmail.com> on 2021/09/08 20:38:23 UTC

@QueryParams of type Set coming through as single, concatenated value...

I'm writing a Spring Boot-based application. I have a resource method
that takes a @BeanParam that internally has a @QueryParam with a field
of type Set<String>. When I submit the request with multiple values,
say "foo", "bar", and "baz", the set only contains one value
"foo,bar,baz". I know I've seen this before and there's even a setting
to "fix" it (org.apache.cxf.http.header.split). My question is, how do
I apply that setting when using Spring Boot and the autoconfiguration
support?

Thanks,

James