thank you for your answer, but still i cannot manage to run my application

let me reask the question
imagine the following interface

interface ContactDao {
  @Get
  public List<Contact> findAll();

  @Get
  public Contact findById(long id);

  @Get
  public Contact findByName(String name);
}

every time i execute a call, the first function is executed, unless i change 
the annotation to have three different, @Get @Post @put

how can i make this work with the three @Get annotations ?




> hi,
> 
> i've an interface with two functions annotated with @get
> 
> public interface HelloWorld { 
>       @Get("hello")
>       public String hello();  
>       @Get("test2")
>       public String test2();
> }
> 
> when i execute the client always the first function is executed but never 
> test2 function.
> if i change @get annotation on test2 for @put or any other one everything 
> works nice.
> 
> any tip to reuse the same annotation ??

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

Reply via email to