Hi Tim,

My mistake, a wrong copy and paste. Here is the recommended Resource's
method to handle PUT requests: 
 - storeRepresentation(Representation entity) 

Best regards,
Jerome  

> -----Message d'origine-----
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la 
> part de Tim Peierls
> Envoyé : lundi 3 décembre 2007 23:38
> À : [email protected]
> Objet : Re: A Restlet interface to Subversion?
> 
> On Dec 3, 2007 5:27 PM, Jerome Louvel <[EMAIL PROTECTED]> wrote:
> 
> 
>       If you are using Restlet trunk (future 1.1), you should 
> override the new
>       methods:
>        - acceptRepresentation(Representation entity) for POST
>        - setModifiable(boolean modifiable) for PUT
> 
> 
> What happened to storeRepresentation? 
>  
> 
>       - removeRepresentations() for DELETE
>        - set/isModifiable() to indicate if POST/PUT/DELETE 
> are allowed 
>       
> 
> 
> 
> --tim
> 
> 

Reply via email to