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 voidsetRequest(javax.servlet.http.HttpServletRequest req)Sets the request for the current thread, this will be cleared when the thread closesvoidsetResponse(javax.servlet.http.HttpServletResponse res)Sets the response for the current thread, this will be closed when the thread closes-
Methods inherited from interface org.sakaiproject.entitybroker.entityprovider.extension.RequestGetter
getRequest, getResponse
-
-
-
-
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
-
-