Uses of Interface
org.sakaiproject.entitybroker.entityprovider.extension.RequestStorage
-
Packages that use RequestStorage Package Description org.sakaiproject.entitybroker.entityprovider.capabilities org.sakaiproject.entitybroker.entityprovider.extension -
-
Uses of RequestStorage in org.sakaiproject.entitybroker.entityprovider.capabilities
Methods in org.sakaiproject.entitybroker.entityprovider.capabilities with parameters of type RequestStorage Modifier and Type Method Description voidRequestStorable. setRequestStorage(RequestStorage requestStorage)Allows the entity provider to access the current request storage if available, sets a storage service which will retrieve or set the stored data values
NOTE: this will only access data from the current request at the time the call is made, values disappear as soon as the request ends -
Uses of RequestStorage in org.sakaiproject.entitybroker.entityprovider.extension
Subinterfaces of RequestStorage in org.sakaiproject.entitybroker.entityprovider.extension Modifier and Type Interface Description interfaceRequestStorageWriteThis allows write access to values which are stored in the current request thread, these values are inaccessible outside of a request and will be destroyed when the thread ends
This also "magically" exposes all the values in the request (attributes and params) as if they were stored in the map as well, if there are conflicts then locally stored data always wins over data from the request
Standard reserved keys have values that are always available:
_locale :Locale_requestEntityReference : String _requestActive : [true,false] _requestOrigin : ['REST','EXTERNAL','INTERNAL']
-