Get HttpServletRequest object in restful web service

    @POST
public Response post(@Context HttpServletRequest request,
@Context HttpServletResponse response){
return Response
.ok("pong2")
.build();
}

Comments

Popular posts from this blog

Check MySQL query history from command line

Installing chocolatey on Windows