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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setRequest​(javax.servlet.http.HttpServletRequest req)
      Sets the request for the current thread, this will be cleared when the thread closes
      void setResponse​(javax.servlet.http.HttpServletResponse res)
      Sets the response for the current thread, this will be closed when the thread closes
    • Method Detail

      • setRequest

        void setRequest​(javax.servlet.http.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​(javax.servlet.http.HttpServletResponse res)
        Sets the response for the current thread, this will be closed when the thread closes
        Parameters:
        res - the current HttpServletResponse