Class Redirector

java.lang.Object
io.hawt.web.auth.Redirector

public class Redirector extends Object
Helper class to perform redirects and forwards which can also be made aware of the Hawtio context path configured for Spring Boot
  • Field Details

  • Constructor Details

    • Redirector

      public Redirector()
  • Method Details

    • doRedirect

      public void doRedirect(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String path) throws IOException
      Throws:
      IOException
    • doForward

      public void doForward(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String path) throws jakarta.servlet.ServletException, IOException
      Throws:
      jakarta.servlet.ServletException
      IOException
    • setApplicationContextPath

      public void setApplicationContextPath(String applicationContextPath)