Given your example code:

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);

Is there a way to configure the builder to use a failover strategy without 
having to code it directly for each client?

chuck

Reply via email to