|
||||||||||
PREV CLASS NEXT CLASS | 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
An adapter class that takes a regular HttpSession and allows you to access it like a Groovy map
Constructor Summary | |
---|---|
GrailsHttpSession(HttpServletRequest request)
|
Method Summary | |
---|---|
Object |
getAttribute(String name)
|
Enumeration |
getAttributeNames()
|
long |
getCreationTime()
|
String |
getId()
|
long |
getLastAccessedTime()
|
int |
getMaxInactiveInterval()
|
ServletContext |
getServletContext()
|
HttpSessionContext |
getSessionContext()
Deprecated. |
Object |
getValue(String name)
Deprecated. |
String[] |
getValueNames()
Deprecated. |
void |
invalidate()
|
boolean |
isNew()
|
void |
putValue(String name,
Object value)
Deprecated. |
void |
removeAttribute(String name)
|
void |
removeValue(String name)
Deprecated. |
void |
setAttribute(String name,
Object value)
|
void |
setMaxInactiveInterval(int arg0)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GrailsHttpSession(HttpServletRequest request)
Method Detail |
---|
public Object getAttribute(String name)
getAttribute
in interface HttpSession
public Enumeration getAttributeNames()
getAttributeNames
in interface HttpSession
public long getCreationTime()
getCreationTime
in interface HttpSession
public String getId()
getId
in interface HttpSession
public long getLastAccessedTime()
getLastAccessedTime
in interface HttpSession
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface HttpSession
public ServletContext getServletContext()
getServletContext
in interface HttpSession
public HttpSessionContext getSessionContext()
getSessionContext
in interface HttpSession
HttpSession.getSessionContext()
public Object getValue(String name)
getValue
in interface HttpSession
HttpSession.getValue(java.lang.String)
public String[] getValueNames()
getValueNames
in interface HttpSession
HttpSession.getValueNames()
public void putValue(String name, Object value)
putValue
in interface HttpSession
HttpSession.putValue(java.lang.String, java.lang.Object)
public void removeValue(String name)
removeValue
in interface HttpSession
HttpSession.removeValue(java.lang.String)
public void invalidate()
invalidate
in interface HttpSession
public boolean isNew()
isNew
in interface HttpSession
public void removeAttribute(String name)
removeAttribute
in interface HttpSession
public void setAttribute(String name, Object value)
setAttribute
in interface HttpSession
public void setMaxInactiveInterval(int arg0)
setMaxInactiveInterval
in interface HttpSession
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |