Interface RequestGetter

  • All Known Subinterfaces:
    RequestGetterWrite

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

      • getRequest

        HttpServletRequest getRequest()
        Returns:
        the current request for this thread or null if none can be found
      • getResponse

        HttpServletResponse getResponse()
        Returns:
        the current response for this thread or null if none can be found