Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.resteasy.cdi.validation;
 
 import javax.ejb.Local;
 import javax.ws.rs.GET;

Author(s):
Ron Sigal
Version:
$Revision: 1.1 $ Copyright Dec 25, 2012
@Path("correct")
public interface ErrorFreeResource extends ResourceParent
   @GET
   @Path("test/{num}")
   @Max(10)
   public int test(@Min(5) @Max(10) @PathParam("num"int num);
   
   public abstract int getNumberOne();
   public abstract int getNumberTwo();
   public abstract void setNumberOne(int one);
   public abstract void setNumberTwo(int two);
New to GrepCode? Check out our FAQ X