THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The client support was lacking and was added in 3.3.4+ / 3.2.11+ / 3.4.0+ for all types of the clients (WebClient, JAX-RS Client Proxy and Microprofile Client). The matching property name is "expand.query.value.as.collection" and could be specified during the client instance creation, for example:
...
Code Block | ||||
---|---|---|---|---|
| ||||
MyClient client = RestClientBuilder
.newBuilder()
.property("expand.query.value.as.collection", "true")
.baseUri(new URI("http://localhost:8080"))
.build(MyClient.class);
|
Code Block | ||||
---|---|---|---|---|
| ||||
WebTarget target = ClientBuilder .newClient() .property("expand.query.value.as.collection", "true") .target("http://localhost:8080"); |