de.fzj.unicore.wsrflite.jetty
Class ConfigurableGzipFilter

java.lang.Object
  extended by org.mortbay.servlet.UserAgentFilter
      extended by org.mortbay.servlet.GzipFilter
          extended by de.fzj.unicore.wsrflite.jetty.ConfigurableGzipFilter
All Implemented Interfaces:
javax.servlet.Filter

public class ConfigurableGzipFilter
extends org.mortbay.servlet.GzipFilter

wrapper around Jetty's GzipFilter that allows configuration using wsrflite.xml
The following configuration options exist.

Author:
schuller

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mortbay.servlet.GzipFilter
org.mortbay.servlet.GzipFilter.GZIPResponseWrapper, org.mortbay.servlet.GzipFilter.GzipStream
 
Field Summary
static String ENABLE_GZIP
           
static String MIN_GZIP_SIZE
           
 
Fields inherited from class org.mortbay.servlet.GzipFilter
_bufferSize, _excluded, _mimeTypes, _minGzipSize
 
Constructor Summary
ConfigurableGzipFilter()
           
 
Method Summary
 void init(javax.servlet.FilterConfig filterConfig)
           
 
Methods inherited from class org.mortbay.servlet.GzipFilter
destroy, doFilter, newGZIPResponseWrapper, newWriter
 
Methods inherited from class org.mortbay.servlet.UserAgentFilter
getUserAgent, getUserAgent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_GZIP_SIZE

public static final String MIN_GZIP_SIZE
See Also:
Constant Field Values

ENABLE_GZIP

public static final String ENABLE_GZIP
See Also:
Constant Field Values
Constructor Detail

ConfigurableGzipFilter

public ConfigurableGzipFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Overrides:
init in class org.mortbay.servlet.GzipFilter
Throws:
javax.servlet.ServletException


Copyright © 2010. All Rights Reserved.