Class SwfAttachmentFilter

java.lang.Object
nl.vpro.web.filter.SwfAttachmentFilter
All Implemented Interfaces:
javax.servlet.Filter

@Deprecated public class SwfAttachmentFilter extends Object implements javax.servlet.Filter
Deprecated.
http://www.adobe.com/devnet/flashplayer/articles/ fplayer10_security_changes_02.html#head32 describes a change in the flash player that ignores any flash content that is served with a Content-Disposition header with the value 'attachment'. This filter will remove that header for these specific attachments.
Author:
Auke van Leeuwen, Peter Maas
  • Constructor Details

    • SwfAttachmentFilter

      public SwfAttachmentFilter()
      Deprecated.
  • Method Details

    • doFilter

      public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
      Deprecated.
      Specified by:
      doFilter in interface javax.servlet.Filter
      Throws:
      IOException
      javax.servlet.ServletException
    • init

      public void init(javax.servlet.FilterConfig config)
      Deprecated.
      Specified by:
      init in interface javax.servlet.Filter
    • destroy

      public void destroy()
      Deprecated.
      Specified by:
      destroy in interface javax.servlet.Filter