The current doc for isAvailable() states
[[
Indicates if some fresh content is available, without
having to actually call one of the content manipulation method like
getStream() that would actually consume it. This is especially useful
for transient representation whose content can only be accessed once.
]]
I just wanted to add that another use case, that one cannot ignore,
is for services that do not return the Content-Length of the entity
in the header. For example, I just found out that Roller's Atom
implementation does not return that Content-Length (will be fixed).
But how many other services out there will forget to return it?
Just a thought, en passant,
Henry
Home page: http://bblfish.net/
Sun Blog: http://blogs.sun.com/bblfish/
Foaf name: http://bblfish.net/people/henry/card#me