I have a PUT method to accept any java object in one of our resource class.
This method is annotated with @Put shown below:
    @Put
    public void send(DataTransporter obj);

I have successfully sent the serialized Java objects as well as Java File 
object created with a binary file using Restlet JEE 2.0.1, but failed in 
version 2.1 RC3. I'd like to report this issue so that your team can take a 
look into it. The POJO transport support is the main reason why we are 
considering to use Restlet in our application. Below is the short version of 
the exception caught from the client code.

Unsupported Media Type (415) - Unsupported Media Type
        at
org.restlet.resource.ClientResource.doError(ClientResource.java:582)
        at
org.restlet.engine.resource.ClientInvocationHandler.invoke(ClientInvocationH
andler.java:236)

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

Reply via email to