public interface RequestStorageWrite extends RequestStorage
LocaleRequestStorage.RequestOrigin, RequestStorage.ReservedKeys| Modifier and Type | Method and Description |
|---|---|
void |
reset()
Clear all values in the request storage (does not wipe the values form the request itself)
|
void |
setRequestValue(String key,
Object value)
Allows user to set the value of a key directly, including reserved keys
|
void |
setRequestValues(Map<String,Object> params)
Place all these params into the request storage
|
void |
setStoredValue(String key,
Object value)
Store a value in the request storage with an associated key
|
getStorageMapCopy, getStorageMapCopy, getStoredValue, getStoredValueAsTypevoid setStoredValue(String key, Object value)
key - a key for a stored valuevalue - an object to storeIllegalArgumentException - if the key OR value are null,
also if an attempt is made to change a reserved value (see RequestStorageWrite)void setRequestValues(Map<String,Object> params)
params - map of string -> value paramsIllegalArgumentException - if the key OR value are null,
also if an attempt is made to change a reserved value (see RequestStorageWrite)void setRequestValue(String key, Object value)
key - the name of the valuevalue - the value to storeIllegalArgumentException - if the key OR value are null,
also if an attempt is made to change a reserved value (see RequestStorageWrite)void reset()
Copyright © 2007–2020 Sakai Project. All rights reserved.