@groovy.transform.CompileStatic trait ServletAttributes
A trait that adds attributes specific to the Servlet API
Type Params | Return Type | Name and description |
---|---|---|
|
org.springframework.context.ApplicationContext |
getApplicationContext() Obtains the ApplicationContext instance |
|
javax.servlet.http.HttpServletRequest |
getRequest() |
|
javax.servlet.http.HttpServletResponse |
getResponse() Obtains the HttpServletResponse instance |
|
javax.servlet.ServletContext |
getServletContext() Obtains the ServletContext instance |
|
javax.servlet.http.HttpSession |
getSession() |
Obtains the ApplicationContext instance
Obtains the HttpServletResponse instance
Obtains the ServletContext instance