2 Replies Latest reply on Jul 16, 2013 9:39 AM by gboro54

    Overriding methods with Rest

    gboro54 Novice

      I have an interface inwhich there are overriding methods i.e

       

      public boolean doSomething(String str);

       

      public boolean doSomething(String str, String str2);

       

       

      When I annotate the parameters with @QueryParam it seems to just invoke the first one. Is there a better way to do this or do I just have to expose one method with all parameters and do null checks?