public class GrailsHttpSession extends java.lang.Object
An adapter class that takes a regular HttpSession and allows you to access it like a Groovy map.
Type | Name and description |
---|---|
java.lang.Object |
attribute |
int |
maxInactiveInterval |
Constructor and description |
---|
GrailsHttpSession
(javax.servlet.http.HttpServletRequest request) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Object |
getAttribute(java.lang.String name) |
|
java.util.Enumeration |
getAttributeNames() |
|
long |
getCreationTime() |
|
java.lang.String |
getId() |
|
long |
getLastAccessedTime() |
|
int |
getMaxInactiveInterval() |
|
javax.servlet.ServletContext |
getServletContext() |
|
javax.servlet.http.HttpSessionContext |
getSessionContext() @deprecated
|
|
java.lang.Object |
getValue(java.lang.String name) @deprecated
|
|
java.lang.String[] |
getValueNames() @deprecated
|
|
void |
invalidate() |
|
boolean |
isNew() |
|
void |
putValue(java.lang.String name, java.lang.Object value) @deprecated
|
|
void |
removeAttribute(java.lang.String name) |
|
void |
removeValue(java.lang.String name) @deprecated
|
|
void |
setAttribute(java.lang.String name, java.lang.Object value) |
|
void |
setMaxInactiveInterval(int arg0) |
|
java.lang.String |
toString() |
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() |