Class SessionScopeExtractor
java.lang.Object
org.apache.tiles.request.jakarta.servlet.extractor.SessionScopeExtractor
- All Implemented Interfaces:
Addable<Object>,AttributeExtractor,HasAddableKeys<Object>,HasKeys<Object>,HasRemovableKeys<Object>
Extract attributes from session scope.
Copied from Apache tiles-request-servlet 1.0.7 and adapted for Jakarta EE 9.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKeys()The enumeration of the keys in the stored attributes.Returns the value of the attribute with the given key.voidremoveValue(String name) Removes an attribute.voidSets a value for the given key.
-
Constructor Details
-
SessionScopeExtractor
Constructor.- Parameters:
request- The servlet request.
-
-
Method Details
-
setValue
Sets a value for the given key. -
removeValue
Removes an attribute.- Specified by:
removeValuein interfaceHasRemovableKeys<Object>- Parameters:
name- The key of the attribute to remove.
-
getKeys
The enumeration of the keys in the stored attributes. -
getValue
Returns the value of the attribute with the given key.
-