Thierry: declaring the "json" method doesn't appear to solve the problem. I've
ordered three representations in this way:
@Get("json")
public Representation
representAsJSON() {
}
@Get("txt")
public Representation
representAsText() {
}
@Get("xml")
public Representation
representAsXML() {
}
But XML is still preferred in the absence of an Accept header from the client
specifying a different variant.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2668560