Class AJAXRedirectStrategyImpl

  • All Implemented Interfaces:
    AJAXRedirectStrategy, org.springframework.security.web.RedirectStrategy

    @Component
    public class AJAXRedirectStrategyImpl
    extends org.springframework.security.web.DefaultRedirectStrategy
    implements AJAXRedirectStrategy
    • Constructor Detail

      • AJAXRedirectStrategyImpl

        public AJAXRedirectStrategyImpl​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • sendRedirect

        public void sendRedirect​(javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response,
                                 String url)
                          throws IOException
        Specified by:
        sendRedirect in interface AJAXRedirectStrategy
        Specified by:
        sendRedirect in interface org.springframework.security.web.RedirectStrategy
        Overrides:
        sendRedirect in class org.springframework.security.web.DefaultRedirectStrategy
        Throws:
        IOException
      • doSendRedirect

        protected void doSendRedirect​(javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.http.HttpServletResponse response,
                                      String url)