org.sakaiproject.entitybroker.entityprovider.capabilities
Interface RequestAware

All Superinterfaces:
EntityProvider

public interface RequestAware
extends EntityProvider

Indicates that this entity provider needs to be request aware, this allows the entity provider to get hold of information from the request at any time by directly accessing the request and response objects (if we are inside a request), if there is no current request then this method will fail to return anything
This is primarily intended to provide access to request parameters while operating inside the entity provider

Author:
Aaron Zeckoski (aaron@caret.cam.ac.uk)

Method Summary
 void setRequestGetter(RequestGetter requestGetter)
          Allows the entity provider to access the current request if it is available, sets a getter service which will retrieve the current request/response if there is one
NOTE: this will only be the current request at the instant that the methods on the getter service are called
 
Methods inherited from interface org.sakaiproject.entitybroker.entityprovider.EntityProvider
getEntityPrefix
 

Method Detail

setRequestGetter

void setRequestGetter(RequestGetter requestGetter)
Allows the entity provider to access the current request if it is available, sets a getter service which will retrieve the current request/response if there is one
NOTE: this will only be the current request at the instant that the methods on the getter service are called



Copyright © 2007-2013 Sakai Project. All Rights Reserved.