@Test @Disabled void newCallExecute() { FullHttpRequest request = new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET, "/people"); ListenableFuture<FullHttpResponse> response = null; try { response = client.newCall("https: } catch (URISyntaxException e) { e.printStackTrace(); } Futures.addCallback( response, new FutureCallback<FullHttpResponse>() { @Override public void onSuccess(FullHttpResponse result) { latch.countDown(); ; System.out.println(result); assertEquals(HttpResponseStatus.OK, result.status()); } @Override public void onFailure(Throwable t) { latch.countDown(); assertEquals(true, false); } }, MoreExecutors.directExecutor()); try { latch.await(500, TimeUnit.MILLISECONDS); } catch (InterruptedException e) { e.printStackTrace(); } }
public Call newCall(String uri) { return new Call(this, uri); }
XrpcClient { public Call newCall(String uri) { return new Call(this, uri); } }
XrpcClient { public Call newCall(String uri) { return new Call(this, uri); } XrpcClient();  XrpcClient(EventLoopGroup elg); }
XrpcClient { public Call newCall(String uri) { return new Call(this, uri); } XrpcClient();  XrpcClient(EventLoopGroup elg); Call newCall(String uri); }
XrpcClient { public Call newCall(String uri) { return new Call(this, uri); } XrpcClient();  XrpcClient(EventLoopGroup elg); Call newCall(String uri);  }