Class ServletSafeContentRedirect


  • public class ServletSafeContentRedirect
    extends SafeContentRedirect
    Centralizing the code which permits to redirect safely to any content URL from a Servlet.
    Author:
    Yohann Chastagnier
    • Method Detail

      • redirectTo

        public void redirectTo​(String url)
        Redirects to the specified URL.
        Parameters:
        url - the URL to redirect to.