@java.lang.Deprecated @groovy.transform.CompileStatic class GrailsWebRequest extends java.lang.Object
Type | Name and description |
---|---|
org.grails.web.servlet.mvc.GrailsWebRequest |
webRequest |
Constructor and description |
---|
GrailsWebRequest
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.grails.web.util.GrailsApplicationAttributes attributes) |
GrailsWebRequest
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext) |
GrailsWebRequest
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext, org.springframework.context.ApplicationContext applicationContext) |
GrailsWebRequest
(org.grails.web.servlet.mvc.GrailsWebRequest webRequest) |
Type | Name and description |
---|---|
org.codehaus.groovy.grails.web.servlet.GrailsApplicationAttributes |
getAttributes() |
org.codehaus.groovy.grails.web.servlet.FlashScope |
getFlashScope() |
GrailsParameterMap |
getParams() @return The Grails params object |
GrailsHttpSession |
getSession() |
static GrailsWebRequest |
lookup() Looks up the current Grails WebRequest instance |
static GrailsWebRequest |
lookup(javax.servlet.http.HttpServletRequest request) Looks up the GrailsWebRequest from the current request. |
static org.codehaus.groovy.grails.commons.GrailsApplication |
lookupApplication() Looks up the GrailsApplication from the current request. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Looks up the current Grails WebRequest instance
Looks up the GrailsWebRequest from the current request.
request
- The current requestLooks up the GrailsApplication from the current request.
Groovy Documentation