This content has been marked as final. Show 2 replies
Doesn't require a pattern and it unlikely one should be used unless there are multiple types of MyObect and/or CallObject.
There might be a different problem in dealing with the Response but again only if there are multiple types.
Thank you for your reply. There will be multiple types of MyObject and CallObject. I just wanted to give a simplistic example. The MyObject will be different depending on certain type of requests and CallObject would also be constructed differently and depending on the type of request different helper classes are called to construct this. Any suggestions based on this?