|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.web.servlet.mvc.GrailsHttpSession
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.
Constructor Summary | |
GrailsHttpSession(javax.servlet.http.HttpServletRequest request)
|
Method Summary | |
---|---|
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 java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
Constructor Detail |
---|
public GrailsHttpSession(javax.servlet.http.HttpServletRequest request)
Method Detail |
---|
public java.lang.Object getAttribute(java.lang.String name)
@SuppressWarnings({ "rawtypes", "unchecked" }) public java.util.Enumeration getAttributeNames()
public long getCreationTime()
public java.lang.String getId()
public long getLastAccessedTime()
public int getMaxInactiveInterval()
public javax.servlet.ServletContext getServletContext()
@Deprecated public javax.servlet.http.HttpSessionContext getSessionContext()
@Deprecated public java.lang.Object getValue(java.lang.String name)
@Deprecated public java.lang.String[] getValueNames()
public void invalidate()
public boolean isNew()
@Deprecated public void putValue(java.lang.String name, java.lang.Object value)
public void removeAttribute(java.lang.String name)
@Deprecated public void removeValue(java.lang.String name)
public void setAttribute(java.lang.String name, java.lang.Object value)
public void setMaxInactiveInterval(int arg0)
@SuppressWarnings("rawtypes") @Override public java.lang.String toString()
Groovy Documentation