Interface RequestGetter
-
- All Known Subinterfaces:
RequestGetterWrite
public interface RequestGetterAllows 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 HttpServletRequestgetRequest()HttpServletResponsegetResponse()
-
-
-
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
-
-