Class SwfAttachmentFilter

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

@Deprecated public class SwfAttachmentFilter extends Object implements jakarta.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 Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    void
    doFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, jakarta.servlet.FilterChain chain)
    Deprecated.
    void
    init(jakarta.servlet.FilterConfig config)
    Deprecated.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SwfAttachmentFilter

      public SwfAttachmentFilter()
      Deprecated.
  • Method Details

    • doFilter

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

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

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