Sorry for resurrecting this old thread, but I was wondering if you found a 
better solution than:
Engine.getInstance().getRegisteredConverters().clear();

My post(someObj) were working fine - being handled by the @Post("json") method 
in the interface (using Restlet 2.2 GAE edition on the server, Restlet 2.2 
Android on the client).  

Then for Android reasons I had to change SomeObj to implement Serializable.  
This seemed to change the media type to application/x-java-serialized-object 
which caused my post(someObj) to return a 415 error.

Clearing the converters fixed the problem, but I was just curious if you found 
a better solution.

Thanks!
RB

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2952955

Reply via email to