At http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-JAX-RS2.0ClientAPI I saw the following code sample: ------------- Client client = ClientBuilder.newBuilder().newClient(); WebTarget target = client.target("http://localhost:8080/rs"); target = target.path("service").queryParam("a", "avalue"); Invocation.Builder builder = target.request(); Response response = builder.get(); Book book = builder.get(Book.class); -------------
When I looked at the JAX-RS 2.0 javadoc, I noticed that ClientBuilder has both a "newBuilder()" method and a "newClient()" method. Can someone elaborate on this?
