Interface IPentahoRequestContextHolderStrategy


  • public interface IPentahoRequestContextHolderStrategy
    A strategy for storing an IPentahoRequestContext against a thread.

    Inspired by org.springframework.security.context.SecurityContextHolderStrategy.

    Author:
    rmansoor
    • Method Detail

      • setRequestContext

        void setRequestContext​(IPentahoRequestContext requestContext)
        Sets the current request context.
        Parameters:
        requestContext - request context to set
      • getRequestContext

        IPentahoRequestContext getRequestContext()
        Returns the current request context.
        Returns:
        requestContext
      • removeRequestContext

        void removeRequestContext()
        Clears the current request context.