anataliocs
10/23/2013 - 6:58 PM

Grails Servlet response REST IMPORTS

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"])