Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package org.qandeel.ConnectingToNode;
- import javax.ws.rs.GET;
- import javax.ws.rs.Path;
- import javax.ws.rs.Produces;
- import javax.ws.rs.core.MediaType;
- /**
- * Root resource (exposed at "myresource" path)
- */
- @Path("myresource")
- public class MyResource {
- @GET
- @Produces(MediaType.APPLICATION_JSON)
- public String hello() {
- return "Hello
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement