사용자 도구

사이트 도구


springframework:asyncresttemplate

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
springframework:asyncresttemplate [2019/01/14 12:54]
kwon37xi
springframework:asyncresttemplate [2019/01/14 12:56]
kwon37xi
줄 9: 줄 9:
  
 ===== Non Blocking IO 설정 ===== ===== Non Blocking IO 설정 =====
-  * [[https://hc.apache.org/httpcomponents-asyncclient-dev/|Apache HttpComponents – HttpComponents HttpAsyncClient Overview]] +  * [[https://hc.apache.org/httpcomponents-asyncclient-dev/|Apache HttpComponents – HttpComponents HttpAsyncClient Overview]] <code java> 
-<code java> +return new AsyncRestTemplate(
-AsyncRestTemplate template = new AsyncRestTemplate(+
                 new HttpComponentsAsyncClientHttpRequestFactory());                 new HttpComponentsAsyncClientHttpRequestFactory());
 </code> </code>
 +  * [[java:netty|Netty]]<code java>
 +return new AsyncRestTemplate(new Netty4ClientHttpRequestFactory());
 +</code>
 +
 +===== 참고 =====
 +  * [[http://heowc.tistory.com/68|Spring Boot - Async 제대로 사용하기]]
  
springframework/asyncresttemplate.txt · 마지막으로 수정됨: 2019/01/14 12:56 저자 kwon37xi