public class RequestContext extends AbstractContext
active, componentInstanceMap, scopeType
Constructor and Description |
---|
RequestContext() |
Modifier and Type | Method and Description |
---|---|
void |
destroy(javax.enterprise.context.spi.Contextual<?> contextual) |
Object |
getHttpSession() |
SessionContext |
getPropagatedSessionContext() |
Object |
getRequestObject()
The base object for the current RequestContext.
|
void |
setComponentInstanceMap() |
void |
setHttpSession(Object httpSession) |
void |
setPropagatedSessionContext(SessionContext propagatedSessionContext) |
checkActive, destroy, destroyInstance, get, get, getInstance, getScope, isActive, setActive
public void setComponentInstanceMap()
AbstractContext
setComponentInstanceMap
in class AbstractContext
public Object getRequestObject()
Initialized
and
Destroyed
events.
This can be overloaded in web requests.null
for other kind of requests‚public void setPropagatedSessionContext(SessionContext propagatedSessionContext)
public SessionContext getPropagatedSessionContext()
null
otherwisepublic Object getHttpSession()
public void setHttpSession(Object httpSession)
public void destroy(javax.enterprise.context.spi.Contextual<?> contextual)
destroy
in interface javax.enterprise.context.spi.AlterableContext
destroy
in class AbstractContext
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.