public interface SessionMapper
Map the H.Session
and H.Cookie
to/from H.Response
/H.Request
Modifier and Type | Interface and Description |
---|---|
static class |
SessionMapper.DefaultSessionMapper
The default session mapper, do the mapping by adding/reading cookie information directly to response/request
|
static class |
SessionMapper.HeaderSessionMapper
The header session mapper do mapping through write/read the header of response/request
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
deserializeFlash(ActionContext context) |
java.lang.String |
deserializeSession(ActionContext context) |
void |
serializeFlash(org.osgl.http.H.Cookie flashCookie,
ActionContext context) |
void |
serializeSession(org.osgl.http.H.Cookie sessionCookie,
ActionContext context) |
void serializeSession(org.osgl.http.H.Cookie sessionCookie, ActionContext context)
void serializeFlash(org.osgl.http.H.Cookie flashCookie, ActionContext context)
java.lang.String deserializeSession(ActionContext context)
java.lang.String deserializeFlash(ActionContext context)
Copyright © 2014–2017 ActFramework. All rights reserved.