I'm digging through the source code of ServerResource (trying to understand
it more) and was wondering what use-case would require this logic:
if (variant instanceof Representation) {
result = (Representation) variant;
} else {
result = get(variant);
}
Is it possible to set the Variant to a Representation, thus avoiding a call
to get method?
Thanks
--
Erick Fleming
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2446616