public interface RequestStorage
Locale| Modifier and Type | Interface and Description |
|---|---|
static class |
RequestStorage.RequestOrigin
Indicates the origin of the current request
|
static class |
RequestStorage.ReservedKeys
Reserved keys with special data in them,
see
RequestStorage |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getStorageMapCopy()
Get the data as a map for easy access to the full set of keys/values,
this is a copy and changing it has no effect on the data in the request
|
Map<String,Object> |
getStorageMapCopy(boolean includeInternal,
boolean includeHeaders,
boolean includeParams,
boolean includeAttributes)
Special version which allows getting only the parts that are desired
|
Object |
getStoredValue(String key)
Get a value that is stored in the request for a specific key
|
<T> T |
getStoredValueAsType(Class<T> type,
String key) |
Map<String,Object> getStorageMapCopy()
Map<String,Object> getStorageMapCopy(boolean includeInternal, boolean includeHeaders, boolean includeParams, boolean includeAttributes)
includeInternal - include the internal request valuesincludeHeaders - include the request headersincludeParams - include the request parametersincludeAttributes - include the request attributesObject getStoredValue(String key)
key - a key for a stored valueIllegalArgumentException - if the key is null<T> T getStoredValueAsType(Class<T> type, String key)
T - type - an object type to attempt to convert the object tokey - a key for the stored valueIllegalArgumentException - if the type or key is nullIllegalFormatConversionException - if the conversion cannot be completedCopyright © 2007–2020 Sakai Project. All rights reserved.