I want to create a rest to communicate between server and client.
The constructor given below:
public class RestHelper { public Rest
I got the solution.
ResultContainData result = new ResultContainData<>(); RestHelper> helper = new RestHelper<>(url, user, (Class>)result.getClass());
It's working for me. I am still looking for a better solution.