Package org.zkoss.web.servlet.xel
Class RequestScope
java.lang.Object
java.util.AbstractMap<String,V>
org.zkoss.web.servlet.xel.StringKeysMap<Object>
org.zkoss.web.servlet.xel.AttributesMap
org.zkoss.web.servlet.xel.RequestScope
Represents the request scope.
- Since:
- 5.0.0
- Author:
- tomyeh
-
Nested Class Summary
Nested classes/interfaces inherited from class org.zkoss.web.servlet.xel.StringKeysMap
StringKeysMap.EntryIterNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Enumeration<String>getKeys()Returns an enumeration of keys.protected ObjectReturns the value associated with the specified key.protected voidremoveValue(String key) Removes the specified key.protected voidSets the value associated with the specified key.Methods inherited from class org.zkoss.web.servlet.xel.AttributesMap
entrySet, isEmpty, put, remove, sizeMethods inherited from class org.zkoss.web.servlet.xel.StringKeysMap
containsKey, getMethods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, keySet, putAll, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
RequestScope
public RequestScope(jakarta.servlet.ServletRequest request)
-
-
Method Details
-
getKeys
Description copied from class:StringKeysMapReturns an enumeration of keys.- Specified by:
getKeysin classStringKeysMap<Object>
-
getValue
Description copied from class:StringKeysMapReturns the value associated with the specified key.- Specified by:
getValuein classStringKeysMap<Object>
-
setValue
Description copied from class:StringKeysMapSets the value associated with the specified key.- Specified by:
setValuein classStringKeysMap<Object>
-
removeValue
Description copied from class:StringKeysMapRemoves the specified key.- Specified by:
removeValuein classStringKeysMap<Object>
-