Interface RequestGetterWrite

  • All Superinterfaces:
    RequestGetter

    public interface RequestGetterWrite
    extends RequestGetter
    Allows for getting to the request and response objects for the current thread
    Author:
    Aaron Zeckoski (aaron@caret.cam.ac.uk)
    • Method Detail

      • setRequest

        void setRequest​(HttpServletRequest req)
        Sets the request for the current thread, this will be cleared when the thread closes
        Parameters:
        req - the current HttpServletRequest
      • setResponse

        void setResponse​(HttpServletResponse res)
        Sets the response for the current thread, this will be closed when the thread closes
        Parameters:
        res - the current HttpServletResponse