class GrailsMockHttpSession extends MockHttpSession
Simple sub-class of Spring's MockHttpSession that adds support for map and property notation, i.e. "session['attr']" and "session.attr".
| Fields inherited from class | Fields |
|---|---|
class MockHttpSession |
SESSION_COOKIE_NAME |
| Type | Name and description |
|---|---|
java.lang.Object |
property |
| Constructor and description |
|---|
GrailsMockHttpSession() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Object |
getAt(java.lang.String name) |
|
java.lang.Object |
getProperty(java.lang.String name) |
|
void |
putAt(java.lang.String name, java.lang.Object value) |
|
void |
setProperty(java.lang.String name, java.lang.Object value) |
| Methods inherited from class | Name |
|---|---|
class MockHttpSession |
access, changeSessionId, clearAttributes, deserializeState, equals, getAccessor, getAttribute, getAttributeNames, getClass, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, hashCode, invalidate, isInvalid, isNew, notify, notifyAll, removeAttribute, serializeState, setAttribute, setMaxInactiveInterval, setNew, toString, wait, wait, wait |