You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
readeyKim edited this page Aug 14, 2019
·
1 revision
CallTask는 Service Interface에서 정의한 메소드의 리턴 타입으로 반드시 지정해야 하는 객체입니다.
HttpClient 객체로부터 인스턴스를 주입받은 Service Interface 객체의 메소드를 실행할 경우 Request를 구축하기만 할뿐 실질적인 통신은 이루어지지 않습니다.
실제 통신은 해당 메소드의 리턴 값으로 받은 CallTask 객체의 execute(), enqueue() 메소드를 통해서 이루어집니다.