Class RequestScopeExtractor
java.lang.Object
org.apache.tiles.request.servlet.extractor.RequestScopeExtractor
- All Implemented Interfaces:
Addable<Object>,AttributeExtractor,HasAddableKeys<Object>,HasKeys<Object>,HasRemovableKeys<Object>
Extracts attributes from request scope.
-
Constructor Summary
ConstructorsConstructorDescriptionRequestScopeExtractor(jakarta.servlet.http.HttpServletRequest request) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetKeys()The enumeration of the keys of 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
-
RequestScopeExtractor
public RequestScopeExtractor(jakarta.servlet.http.HttpServletRequest request) Constructor.- Parameters:
request- The servlet request.
-
-
Method Details
-
setValue
Description copied from interface:AddableSets a value for the given key. -
removeValue
Description copied from interface:HasRemovableKeysRemoves an attribute.- Specified by:
removeValuein interfaceHasRemovableKeys<Object>- Parameters:
name- The key of the attribute to remove.
-
getKeys
Description copied from interface:HasKeysThe enumeration of the keys of the stored attributes. -
getValue
Description copied from interface:HasKeysReturns the value of the attribute with the given key.
-