Uploaded image for project: 'Click'
  1. Click
  2. CLK-119

CompressionFilter configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • core
    • None

    Description

      Hi,

      I used the CompressionFilter (it worked very well), but it needs the compressionThreshold init parameter in the web.xml file.

      The javadocs says that you don't need to add this parameter. But if you don't add it, the Filter will not execute.

      The doFilter() method does the following test:

      if (compressionThreshold == 0) {
      chain.doFilter(request, response);
      return;
      }

      So, if the compressionThreshold is not defined, the filter will not execute.

      My guess is that the compressionThreshold attribute could have some default value, and avoid more configuration in the web.xml

      regards,

      Attachments

        Activity

          People

            medgar Malcolm Edgar
            ricardolecheta Ricardo Lecheta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: