...
/** * REST Web Service * */ @Path("dukesAge") public class DukesAgeResource { /** Creates a new instance of DukesAgeResource */ public DukesAgeResource() { } /** * Retrieves representation of an instance of DukesAgeResource * @return an instance of java.lang.String */ @GET @Produces("text/plain") public String getText() { // Add code here return "Whatsup Dukes REST! He is 27."; } }
No comments:
Post a Comment