Class NewsletterRedirectFilter

java.lang.Object
ch.tocco.nice2.optional.newsletter.impl.stats.NewsletterRedirectFilter
All Implemented Interfaces:
jakarta.servlet.Filter

@Component public class NewsletterRedirectFilter extends Object implements jakarta.servlet.Filter
This filter relates the link and receiver entity when a link is clicked in the newsletter. It requires an URL parameter called "link", which contains the UID of a Newsletter_link entity and a second parameter called "receiver", which contains the UID of a Newsletter_receiver entity The user is redirected to the link location.
  • Field Details

  • Constructor Details

  • Method Details

    • doFilter

      public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doFilter in interface jakarta.servlet.Filter
      Throws:
      IOException
      jakarta.servlet.ServletException