org.granite.messaging.webapp
Class HttpGraniteContext

java.lang.Object
  extended by org.granite.context.GraniteContext
      extended by org.granite.messaging.webapp.HttpGraniteContext

public class HttpGraniteContext
extends GraniteContext

Author:
Franck WOLFF

Method Summary
static HttpGraniteContext createThreadIntance(GraniteConfig graniteConfig, ServicesConfig servicesConfig, ServletContext context, HttpServletRequest request, HttpServletResponse response)
           
 Map<String,Object> getApplicationMap()
           
 Map<String,String> getInitialisationMap()
           
 HttpServletRequest getRequest()
           
 Map<String,Object> getRequestMap()
           
 HttpServletResponse getResponse()
           
 ServletContext getServletContext()
           
 HttpSession getSession()
           
 HttpSession getSession(boolean create)
           
 Object getSessionLock()
           
 Map<String,Object> getSessionMap()
           
 Map<String,Object> getSessionMap(boolean create)
           
 
Methods inherited from class org.granite.context.GraniteContext
getAMFContext, getCurrentInstance, getGraniteConfig, getServicesConfig, release, setCurrentInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createThreadIntance

public static HttpGraniteContext createThreadIntance(GraniteConfig graniteConfig,
                                                     ServicesConfig servicesConfig,
                                                     ServletContext context,
                                                     HttpServletRequest request,
                                                     HttpServletResponse response)

getServletContext

public ServletContext getServletContext()

getRequest

public HttpServletRequest getRequest()

getResponse

public HttpServletResponse getResponse()

getSession

public HttpSession getSession(boolean create)

getSession

public HttpSession getSession()

getSessionLock

public Object getSessionLock()
Specified by:
getSessionLock in class GraniteContext

getInitialisationMap

public Map<String,String> getInitialisationMap()
Specified by:
getInitialisationMap in class GraniteContext

getApplicationMap

public Map<String,Object> getApplicationMap()
Specified by:
getApplicationMap in class GraniteContext

getSessionMap

public Map<String,Object> getSessionMap()
Specified by:
getSessionMap in class GraniteContext

getSessionMap

public Map<String,Object> getSessionMap(boolean create)
Specified by:
getSessionMap in class GraniteContext

getRequestMap

public Map<String,Object> getRequestMap()
Specified by:
getRequestMap in class GraniteContext