Have a question about this kind of syntax.. I will appreciate if anybody can explain me the syntax and the logic of what is going on with the calling of methods after methods and how do i get the access to some class and his methods after the "." ?
WebTarget target = client.target("http://localhost:8080/Activities/rest/");
Response response = target.path("activitiesGenerator/activity").request(MediaType.APPLICATION_JSON).post(Entity.entity(act,MediaType.APPLICATION_JSON));