@Test public void testIndex() throws Exception { try(RxHttpClient client = embeddedServer.getApplicationContext().createBean(RxHttpClient.class, embeddedServer.getURL())) { assertEquals(HttpStatus.OK, client.toBlocking().exchange("/helloworld").status()); } }
@Get("/") public HttpStatus index() { return HttpStatus.OK; }
HelloworldController { @Get("/") public HttpStatus index() { return HttpStatus.OK; } }
HelloworldController { @Get("/") public HttpStatus index() { return HttpStatus.OK; }  }
HelloworldController { @Get("/") public HttpStatus index() { return HttpStatus.OK; }  @Get("/") HttpStatus index(); @Get("/hi") String hi(); }
HelloworldController { @Get("/") public HttpStatus index() { return HttpStatus.OK; }  @Get("/") HttpStatus index(); @Get("/hi") String hi();  }