Grails Servlet response REST IMPORTS
import static groovyx.net.http.Method.GET
import static groovyx.net.http.ContentType.TEXT
import static groovyx.net.http.ContentType.JSON
import static groovyx.net.http.ContentType.HTML
HTTPServletResponse.SC_OK
.findById(params.goalInfoId, [sort: "date", order: "desc"])