Class MultipartPreservingFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class MultipartPreservingFilter
    extends Object
    implements javax.servlet.Filter
    Filter that wraps multipart requests in a special request wrapper that allows for accessing of the request parts multiple times during the request scope and performs unified malware scanning for all uploaded files.
    Since:
    8.0.0
    Author:
    XIMA MEDIA GmbH, Dresden
    • Constructor Detail

      • MultipartPreservingFilter

        public MultipartPreservingFilter()
    • Method Detail

      • 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