Class HttpRequestResponseHolder

java.lang.Object
org.springframework.security.web.context.HttpRequestResponseHolder

@Deprecated public final class HttpRequestResponseHolder extends Object
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

    Constructors
    Constructor
    Description
    HttpRequestResponseHolder(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.servlet.http.HttpServletRequest
    Deprecated.
     
    javax.servlet.http.HttpServletResponse
    Deprecated.
     
    void
    setRequest(javax.servlet.http.HttpServletRequest request)
    Deprecated.
     
    void
    setResponse(javax.servlet.http.HttpServletResponse response)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HttpRequestResponseHolder

      public HttpRequestResponseHolder(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Deprecated.
  • Method Details

    • getRequest

      public javax.servlet.http.HttpServletRequest getRequest()
      Deprecated.
    • setRequest

      public void setRequest(javax.servlet.http.HttpServletRequest request)
      Deprecated.
    • getResponse

      public javax.servlet.http.HttpServletResponse getResponse()
      Deprecated.
    • setResponse

      public void setResponse(javax.servlet.http.HttpServletResponse response)
      Deprecated.