Guest User

Middletier jersey method

a guest
Jul 28th, 2014
213
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     @POST
  2.     @Path("/users")
  3.     @Produces({MediaType.APPLICATION_JSON})
  4.     public Response createNewUser(String jsonString) { //String jsonString
  5.         System.out.println("WHATDUP");
  6.         System.out.println("IMPORTANT JSON: ["+jsonString+"] : "+jsonString.length());
  7.     return Response.ok("{hey: 'yo'}");
  8.     }
RAW Paste Data