Given the following, I expected the provider to produce the entity in
the response. Instead, I just get the stream. The doc mentions a
ResponseReader, but doesn't show use with WebClient. What's the
provider for, in any case, if a ResponseReader is needed?

       List<Object> providers = new ArrayList<Object>();
        providers.add(new org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider());
        WebClient client = WebClient.create(endpointAddress, providers);
        Response r =
client.accept("application/json").path("/definedPredicates").get();
        Object o = r.getEntity();
        assertEquals(Status.OK.getStatusCode(), r.getStatus());

Reply via email to