-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#74] 12주차 : 템플릿 메소드 패턴 (영준) #78
Conversation
|
||
#### 참고 | ||
|
||
**parseInt()** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parseInt vs valueOf 차이 설명 좋았습니다. 👍
|
||
--- | ||
|
||
# 템플릿 콜백(Template-Callback) 패턴 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
콜백 패턴에 대해서 알수 있어서 좋았고 위에서 전달하는 예시도 엄청 이해잘됩니다!!
|
||
### RestTemplate | ||
|
||
- RestAPI 클라이언트 코드로서 HTTP 요청을 보내주는 편의성 메소드를 제공해준다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
논외의 이야기긴 한데 이제 Spring에서 restTemplate를 쓸일이 점점 적어질것 같습니다.
NOTE: As of 5.0 this class is in maintenance mode, with only minor requests for changes and bugs to be accepted going forward. Please, consider using the org.springframework.web.reactive.client.WebClient which has a more modern API and supports sync, async, and streaming scenarios.
-> 이제 유저모드로 전환된다고 하더라구요.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
유저모드가 WebClient 말씀하는거죠?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restemplate
가 user모드로 전환되고, Spring에서는 WebClient
를 추천하더라구요.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아 유저모드가 maintenance mode말하는 거군영. 당장은 아니지만 차차 deprecate되려나
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
버전업이 되면서 deprecate 될 것 같아요!
WebClient는 동기/비동기 설정을 통해 둘다 처리할 수 있으니, RestTemplate이 현대적이지 않다는 의미로 적혀있네요 ^0^
좋은 포인트 인 것 같아요. 감사합니다.
No description provided.