Interface RequestGlobals

  • All Known Implementing Classes:
    RequestGlobalsImpl

    public interface RequestGlobals
    Service used to store the current request objects, both the Servlet API versions, and the Tapestry generic versions. The service has a per-thread scope.
    • Method Detail

      • storeServletRequestResponse

        void  request,
                                          response)
        Stores the servlet API request and response objects, for access via the properties.
      • getHTTPServletRequest

         getHTTPServletRequest()
        The Servlet API Request. This is exposed as service HTTPServletRequest.
      • getRequest

        Request getRequest()
        The current request. This is exposed as service Request.
      • getResponse

        Response getResponse()
        The current response. This is exposed as service Response.
      • storeActivePageName

        void  pageName)
        Stores the name of the active page for this request.
        Parameters:
        pageName - name of page (probably extracted from the URL)
        Since:
        5.2.0
      • getActivePageName

         getActivePageName()
        Returns the active page name previously stored.
        Returns:
        canonicalized page name
        Since:
        5.2.0