public final class HttpRequestResponseHolder extends Object
SecurityContextRepository.loadContext(HttpRequestResponseHolder)
, allowing the
method to swap the request for a wrapped version, as well as returning the
SecurityContext value.Constructor and Description |
---|
HttpRequestResponseHolder(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
javax.servlet.http.HttpServletRequest |
getRequest() |
javax.servlet.http.HttpServletResponse |
getResponse() |
void |
setRequest(javax.servlet.http.HttpServletRequest request) |
void |
setResponse(javax.servlet.http.HttpServletResponse response) |
public HttpRequestResponseHolder(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public javax.servlet.http.HttpServletRequest getRequest()
public void setRequest(javax.servlet.http.HttpServletRequest request)
public javax.servlet.http.HttpServletResponse getResponse()
public void setResponse(javax.servlet.http.HttpServletResponse response)