Class RequestScopeExtractor
java.lang.Object
org.apache.tiles.request.jakarta.servlet.extractor.RequestScopeExtractor
- All Implemented Interfaces:
Addable<Object>
,AttributeExtractor
,HasAddableKeys<Object>
,HasKeys<Object>
,HasRemovableKeys<Object>
Extracts attributes from request scope.
Copied from Apache tiles-request-servlet 1.0.7 and adapted for Jakarta EE 9.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKeys()
The enumeration of the keys in the stored attributes.Returns the value of the attribute with the given key.void
removeValue
(String name) Removes an attribute.void
Sets a value for the given key.
-
Constructor Details
-
RequestScopeExtractor
Constructor.- Parameters:
request
- The servlet request.
-
-
Method Details
-
setValue
Sets a value for the given key. -
removeValue
Removes an attribute.- Specified by:
removeValue
in 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.
-