|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 HttpSessionpublic Enumeration getAttributeNames()
getAttributeNames in interface HttpSessionpublic long getCreationTime()
getCreationTime in interface HttpSessionpublic String getId()
getId in interface HttpSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface HttpSessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface HttpSessionpublic ServletContext getServletContext()
getServletContext in interface HttpSessionpublic HttpSessionContext getSessionContext()
getSessionContext in interface HttpSessionHttpSession.getSessionContext()public Object getValue(String name)
getValue in interface HttpSessionHttpSession.getValue(java.lang.String)public String[] getValueNames()
getValueNames in interface HttpSessionHttpSession.getValueNames()
public void putValue(String name,
Object value)
putValue in interface HttpSessionHttpSession.putValue(java.lang.String, java.lang.Object)public void removeValue(String name)
removeValue in interface HttpSessionHttpSession.removeValue(java.lang.String)public void invalidate()
invalidate in interface HttpSessionpublic boolean isNew()
isNew in interface HttpSessionpublic void removeAttribute(String name)
removeAttribute in interface HttpSession
public void setAttribute(String name,
Object value)
setAttribute in interface HttpSessionpublic void setMaxInactiveInterval(int arg0)
setMaxInactiveInterval in interface HttpSessionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||