Interface ValveContext


  • public interface ValveContext
    Context information during invoking valves in a pipeline. This holds the necessary objects to serve a request.
    • Method Detail

      • getRequestContainerConfig

        HstContainerConfig getRequestContainerConfig()
        Returns the HstComponent container configuration.
        Returns:
        the HstComponent container configuration.
      • getRequestContext

        HstRequestContext getRequestContext()
        Returns the current request context.
        Returns:
        the current request context.
      • getServletRequest

        javax.servlet.http.HttpServletRequest getServletRequest()
        Returns the current servlet request.
        Returns:
        the current servlet request.
      • getServletResponse

        javax.servlet.http.HttpServletResponse getServletResponse()
        Returns the current servlet response.
        Returns:
        the current servlet response.
      • setRootComponentWindow

        void setRootComponentWindow​(HstComponentWindow rootComponentWindow)
        Sets the root HstComponentWindow instancethat is used to process the current request.
        Parameters:
        rootComponentWindow -
      • getRootComponentWindow

        HstComponentWindow getRootComponentWindow()
        Returns the root HstComponentWindow instance that is used to process the current request. Note that in case of a action/resource/component-rendering request the root component is in general the targeted (for the action/resource/component-rendering) component
        Returns:
        the root HstComponentWindow instance that is used to process the current request.
      • setRootComponentRenderingWindow

        void setRootComponentRenderingWindow​(HstComponentWindow rootComponentRenderingWindow)
        Sets the root HstComponentWindow instance to *render* the current request
        Parameters:
        rootComponentRenderingWindow -