RESTEasy interprets your method as best as possible - you did not specify a return type so that it returns 204 (without content) back to the client. The void method GETreally doesn't make much sense and should be avoided or converted to another HTTP verb (like POST).
, JAX-RS. ResponseBuilder.
Response.status(202).build();
, , HttpServletResponse , :
response.setHeader("Location", "http://www.example.com/myresource/5");