Maximilian
Lifer
Or is this a waste of time? :awe:
Im figuring out RESTful stuff in java and I got sidetracked looking at this line of code:
Response.status returns a ResponseBuilder object, then entity() is called on that ResponseBuilder object... however looking at the code the entity() method is abstract and has no code... So how does that work? :\
Im figuring out RESTful stuff in java and I got sidetracked looking at this line of code:
Code:
return Response.status(200).entity(response).build();
Response.status returns a ResponseBuilder object, then entity() is called on that ResponseBuilder object... however looking at the code the entity() method is abstract and has no code... So how does that work? :\