Spring Webflux에는 reactive, non-blocking하게 HTTP요청을 처리할 수 있도록 WebClient 모듈을 제공 기존의 RestTemplate과 같은 역할이지만, non-blocking하다라는 차이가 있다. 내부적으로 WebClient는 HTTP 클라이언트 라이브러리에 위임하는데, 디폴트로 Reactor Netty의 HttpClient를 사용한다. Reactor Netty외에도, Jetty의 HttpClient를 지원하며, 다른 라이브러리도 ClientHttpConnector에 넣어주면 사용할 수 있다. Setup the WebClient create() default WebClient base URL this . webClient = WebClient . create (); //or this . webClient = WebClient . create ( "http://localhost:12345" ); builder this . webClient = WebClient . builder () . baseUrl ( properties . getHost ()) . defaultHeader ( "Accept" , MediaType . APPLICATION_JSON_VALUE , "Content-Type" , MediaType . APPLICATION_JSON_VALUE ). build (); Making calls public Mono < ReturnedItem > callOne () { return webClient . get () . uri ( "wait1"...