RequestSpecification requestSpecification = new RequestSpecBuilder().
addHeader("Content-Type", "application/json").
addHeader("Accept", "application/json").
build();
As in the above statement what does the dot(.) represent. Like after each call to a method and if we press dot (.) and then control space in Eclipse it populates/suggests the method under it. Can someone explain what does each dot (.) represent. Is that calling a method part of a class using an object? It is big confusing for me. Please explain.