@Ignore @Test public void test() { final RestClient client = new RestClient(); final Response response = client.target("http: .path("get") .request(MediaType.APPLICATION_JSON) .get(); System.out.println("status: " + response.getStatus()); final String result = response.readEntity(String.class); System.out.println("content: " + result); }
public WebTarget target(String uri) { return client.target(uri); }
RestClient { public WebTarget target(String uri) { return client.target(uri); } }
RestClient { public WebTarget target(String uri) { return client.target(uri); } RestClient(long timeoutMsConnection, long timeoutMsRead);  RestClient();  RestClient(RestConnectionManager connectionManager,
                    long timeoutMsConnection, long timeoutMsRead); }
RestClient { public WebTarget target(String uri) { return client.target(uri); } RestClient(long timeoutMsConnection, long timeoutMsRead);  RestClient();  RestClient(RestConnectionManager connectionManager,
                    long timeoutMsConnection, long timeoutMsRead); WebTarget target(String uri); }
RestClient { public WebTarget target(String uri) { return client.target(uri); } RestClient(long timeoutMsConnection, long timeoutMsRead);  RestClient();  RestClient(RestConnectionManager connectionManager,
                    long timeoutMsConnection, long timeoutMsRead); WebTarget target(String uri);  }