How do I access the body content of the request sent by the client? For example:
@Override
@GET
@Path("/mypath")
public Response myMethod() {
System.out.println("Conteúdo da requisição: " + request.body);
return null;
}
How do I access the body content of the request sent by the client? For example:
@Override
@GET
@Path("/mypath")
public Response myMethod() {
System.out.println("Conteúdo da requisição: " + request.body);
return null;
}