Hello,

in your case, you don't need to use a FileRepresentation on server side.
You can just replace the type of the parameter:
@Post
public FileRepresentation receive(Representation file){
[...]
}

Having said that, you still have access to the Representation#disposition 
attribute on server side.

Best regards,
Thierry Boileau

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

Reply via email to