Class RequestBeanStore
java.lang.Object
org.jboss.weld.contexts.beanstore.AttributeBeanStore
org.jboss.weld.module.web.context.beanstore.http.RequestBeanStore
- All Implemented Interfaces:
Iterable<org.jboss.weld.serialization.spi.BeanIdentifier>,BeanStore,BoundBeanStore
A BeanStore that uses a HTTP request as backing storage.
This class is not threadsafe
- Author:
- Nicklas Karlsson, David Allen, Pete Muir
-
Constructor Summary
ConstructorsConstructorDescriptionRequestBeanStore(jakarta.servlet.http.HttpServletRequest request, NamingScheme namingScheme) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetAttribute(String key) jakarta.servlet.http.HttpServletRequestprotected booleanprotected voidremoveAttribute(String key) protected voidsetAttribute(String key, Object instance) Methods inherited from class org.jboss.weld.contexts.beanstore.AttributeBeanStore
attach, clear, contains, detach, fetchUninitializedAttributes, get, getNamingScheme, getPrefixedAttributeNames, isAttached, isAttributeLazyFetchingEnabled, iterator, lock, put, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
RequestBeanStore
-
-
Method Details
-
getAttribute
- Specified by:
getAttributein classAttributeBeanStore
-
removeAttribute
- Specified by:
removeAttributein classAttributeBeanStore
-
getAttributeNames
- Specified by:
getAttributeNamesin classAttributeBeanStore
-
setAttribute
- Specified by:
setAttributein classAttributeBeanStore
-
getRequest
public jakarta.servlet.http.HttpServletRequest getRequest() -
getLockStore
- Specified by:
getLockStorein classAttributeBeanStore
-
isLocalBeanStoreSyncNeeded
protected boolean isLocalBeanStoreSyncNeeded()- Overrides:
isLocalBeanStoreSyncNeededin classAttributeBeanStore
-