Class NewsletterRedirectFilter

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

@Component public class NewsletterRedirectFilter extends Object implements javax.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(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
      Specified by:
      doFilter in interface javax.servlet.Filter
      Throws:
      IOException
      javax.servlet.ServletException