Class HttpRequestResponseHolder
java.lang.Object
org.springframework.security.web.context.HttpRequestResponseHolder
Deprecated.
Used to pass the incoming request to
SecurityContextRepository.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
ConstructorDescriptionHttpRequestResponseHolder
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.http.HttpServletRequest
Deprecated.jakarta.servlet.http.HttpServletResponse
Deprecated.void
setRequest
(jakarta.servlet.http.HttpServletRequest request) Deprecated.void
setResponse
(jakarta.servlet.http.HttpServletResponse response) Deprecated.
-
Constructor Details
-
HttpRequestResponseHolder
public HttpRequestResponseHolder(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Deprecated.
-
-
Method Details
-
getRequest
public jakarta.servlet.http.HttpServletRequest getRequest()Deprecated. -
setRequest
public void setRequest(jakarta.servlet.http.HttpServletRequest request) Deprecated. -
getResponse
public jakarta.servlet.http.HttpServletResponse getResponse()Deprecated. -
setResponse
public void setResponse(jakarta.servlet.http.HttpServletResponse response) Deprecated.
-
SecurityContextRepository.loadDeferredContext(HttpServletRequest)