문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 | |||
|
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:// | + | * [[https:// |
| - | <code java> | + | return |
| - | AsyncRestTemplate template = new AsyncRestTemplate( | + | |
| new HttpComponentsAsyncClientHttpRequestFactory()); | new HttpComponentsAsyncClientHttpRequestFactory()); | ||
| </ | </ | ||
| + | * [[java: | ||
| + | return new AsyncRestTemplate(new Netty4ClientHttpRequestFactory()); | ||
| + | </ | ||
| + | |||
| + | ===== 참고 ===== | ||
| + | * [[http:// | ||