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

CompressionFilter configuration

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: