@groovy.transform.Traitgroovy.transform.Trait @groovy.transform.CompileStaticCompileStatic trait ServletAttributes extends java.lang.Object
A trait that adds attributes specific to the Servlet API
Constructor and description |
---|
ServletAttributes
() |
Type Params | Return Type | Name and description |
---|---|---|
|
ApplicationContext |
getApplicationContext() Obtains the ApplicationContext instance
|
|
HttpServletRequest |
getRequest() |
|
HttpServletResponse |
getResponse() Obtains the HttpServletResponse instance
|
|
ServletContext |
getServletContext() Obtains the ServletContext instance
|
|
HttpSession |
getSession() |
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() |
Obtains the ApplicationContext instance
Obtains the HttpServletResponse instance
Obtains the ServletContext instance