org.apache.webbeans.web.context
Class ServletRequestContext
java.lang.Object
org.apache.webbeans.context.AbstractContext
org.apache.webbeans.context.RequestContext
org.apache.webbeans.web.context.ServletRequestContext
- All Implemented Interfaces:
- Serializable, javax.enterprise.context.spi.Context, WebBeansContext
public class ServletRequestContext
- extends RequestContext
RequestContext which additionally holds the current servletRequest
for being able to lazily initialise the SessionContext if needed.
- See Also:
- Serialized Form
| Methods inherited from class org.apache.webbeans.context.AbstractContext |
checkActive, get, get, getComponentInstanceMap, getCreationalContext, getInstance, getScope, getType, initContextualBag, isActive, setActive |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletRequestContext
public ServletRequestContext()
getServletRequest
public javax.servlet.http.HttpServletRequest getServletRequest()
setServletRequest
public void setServletRequest(javax.servlet.http.HttpServletRequest servletRequest)
destroy
public void destroy()
- Specified by:
destroy in interface WebBeansContext- Overrides:
destroy in class AbstractContext
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.