Hi!
I've just started using jminix and I'm facing the same issue.
I have various jmx operations. All of those java methods returns String.
Sometimes the string is a plain text, sometimes its an XML, sometimes a HTML.
I tried to use the org.restlet
annotations like @Post ("html") and it didn't work.
I tried to change the method to return
Representation and used the MediaType constructor, but still -
The result I get from jminix application is always a plain-text.
I'd happily develop the solution into the open source project, but I'll be happier if someone can guide me where should be the intervention point?
Where should I set the response header Content-Type to the right type?
Thanks a lot,
Uziel
בתאריך יום שלישי, 18 במרץ 2014 בשעה 21:49:51 UTC+2, מאת lbovet: