Get HttpServletRequest object in restful web service

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

Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file