33343536373839
protected RestfulClient client; @Before public void setUp() throws Exception { final WebServer webServer = webServerRule.getWebServer(); client = new RestfulClient(webServer.getBase()); }
37383940414243
575859606162636465
} public RestfulClient getClient() { if(client == null) { final WebServer webServer = getWebServer(); client = new RestfulClient(webServer.getBase()); } return client; }
656667686970717273
} public RestfulClient getClient(HttpClient httpClient) { if(client == null) { final WebServer webServer = getWebServer(); client = new RestfulClient(webServer.getBase(), httpClient); } return client; }
737475767778798081
} public RestfulClient getClient(ClientExecutor clientExecutor) { if(client == null) { final WebServer webServer = getWebServer(); client = new RestfulClient(webServer.getBase(), clientExecutor); } return client; }
43444546474849
363738394041424344
private VersionResource resource; @Before public void setUp() throws Exception { final WebServer webServer = webServerRule.getWebServer(); client = new RestfulClient(webServer.getBase()); resource = client.getVersionResource(); }
555657585960616263