Hi Thierry,

   Thanks for reply to my query. I am having a situation where I need to call 
various methods with GET/PUT annotations. For e.g. as follow.

public interface ContactResource{

 @Get
 public ObjectRepresentation<Contact> retrive();
        
 @Post
 public ArrayList<Contact> update(Address addr, Contact contact);
        
        
 @Post
 public ArrayList<Contact> store(ArrayList<Contact> contactList);
        
 @Delete
 public void remove();
        
}

In above example I need to handle 2 different methods with POST annotations. 
One is having Address and Contact object as the argument(update) while other is 
having ArrayList<Contact> as the argument(store). So Is there any way to handle 
this kind of cases ?

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

Reply via email to