|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.granite.context.GraniteContext
org.granite.messaging.webapp.ServletGraniteContext
org.granite.messaging.webapp.HttpGraniteContext
public class HttpGraniteContext
| Field Summary |
|---|
| Fields inherited from class org.granite.messaging.webapp.ServletGraniteContext |
|---|
applicationMap, initialisationMap, session, sessionMap |
| Fields inherited from class org.granite.context.GraniteContext |
|---|
SESSION_LAST_ACCESSED_TIME_KEY |
| Constructor Summary | |
|---|---|
protected |
HttpGraniteContext(GraniteConfig graniteConfig,
ServicesConfig servicesConfig,
ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response)
|
| Method Summary | |
|---|---|
static HttpGraniteContext |
createThreadIntance(GraniteConfig graniteConfig,
ServicesConfig servicesConfig,
ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response)
|
HttpServletRequest |
getRequest()
|
Map<String,Object> |
getRequestMap()
|
HttpServletResponse |
getResponse()
|
HttpSession |
getSession()
|
HttpSession |
getSession(boolean create)
|
String |
getSessionId()
|
Object |
getSessionLock()
|
Map<String,Object> |
getSessionMap()
|
Map<String,Object> |
getSessionMap(boolean create)
|
| Methods inherited from class org.granite.messaging.webapp.ServletGraniteContext |
|---|
createThreadInstance, createThreadInstance, getApplicationMap, getInitialisationMap, getServletContext |
| Methods inherited from class org.granite.context.GraniteContext |
|---|
getAMFContext, getClientType, getCurrentInstance, getGraniteConfig, getServicesConfig, release, setCurrentInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected HttpGraniteContext(GraniteConfig graniteConfig,
ServicesConfig servicesConfig,
ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response)
| Method Detail |
|---|
public static HttpGraniteContext createThreadIntance(GraniteConfig graniteConfig,
ServicesConfig servicesConfig,
ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response)
public HttpServletRequest getRequest()
getRequest in class ServletGraniteContextpublic HttpServletResponse getResponse()
getResponse in class ServletGraniteContextpublic String getSessionId()
getSessionId in class GraniteContextpublic HttpSession getSession(boolean create)
getSession in class ServletGraniteContextpublic HttpSession getSession()
getSession in class ServletGraniteContextpublic Object getSessionLock()
getSessionLock in class ServletGraniteContextpublic Map<String,Object> getSessionMap()
getSessionMap in class ServletGraniteContextpublic Map<String,Object> getSessionMap(boolean create)
getSessionMap in class ServletGraniteContextpublic Map<String,Object> getRequestMap()
getRequestMap in class ServletGraniteContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||