Interface RequestStorable

  • All Superinterfaces:
    EntityProvider

    public interface RequestStorable
    extends EntityProvider
    Indicates that this entity provider is aware of the requests and can get to the stored values in the request or can store its own, this allows the entity provider to get hold of information from the request at any time
    This is primarily intended to provide access to request data while operating inside the entity provider without depending on servlet knowledge
    This provides access to the special indicator values which can be used to see what kind of request is operating and get information about it, see the RequestStorage object for more info
    If you need to get to the servlet data see RequestAware and RequestInterceptor
    Author:
    Aaron Zeckoski (aaron@caret.cam.ac.uk)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void 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
    • Method Detail

      • setRequestStorage

        void 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