Class HttpRequestResponseHolder
- java.lang.Object
-
- org.springframework.security.web.context.HttpRequestResponseHolder
-
public final class HttpRequestResponseHolder extends java.lang.Object
Used to pass the incoming request toSecurityContextRepository.loadContext(HttpRequestResponseHolder)
, allowing the method to swap the request for a wrapped version, as well as returning the SecurityContext value.- Since:
- 3.0
-
-
Constructor Summary
Constructors Constructor Description HttpRequestResponseHolder(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getRequest
public javax.servlet.http.HttpServletRequest getRequest()
-
setRequest
public void setRequest(javax.servlet.http.HttpServletRequest request)
-
getResponse
public javax.servlet.http.HttpServletResponse getResponse()
-
setResponse
public void setResponse(javax.servlet.http.HttpServletResponse response)
-
-