Marc,
> Presumably the presence of @Output indicates the method should be
> exposed as a HTTP method and the method is defaulting to GET
> based on the omission of any @Method annotation ?
Correct.
> Presumably there would either be application specified serializers
> for Document and JSONObject or it would use default ones defined by
> the API.
I think I agree: beside the serialization done at the resource POJO level
(e.g. toXML() and toJSON() methods), the API implementation should provide a
mechanism to serialize/deserialize representation POJOs transparently.
In the Restlet API, it will be hooked to our ConverterService:
http://www.restlet.org/documentation/1.0/api/org/restlet/service/ConverterSe
rvice.html
Best regards,
Jerome