Class CompressionFilter

  extended by org.apache.abdera.protocol.server.filters.CompressionFilter
All Implemented Interfaces:

public class CompressionFilter
extends Object
implements Filter

Abdera Filter implementation that selectively applies compression to the response payload

Nested Class Summary
static class CompressionFilter.CompressingOutputStream
static class CompressionFilter.CompressingResponseContextWrapper
          A HttpServletResponseWrapper implementation that applies GZip or Deflate compression to response output.
Constructor Summary
Method Summary
 ResponseContext filter(RequestContext request, FilterChain chain)
          Process the filter request.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public CompressionFilter()
Method Detail


public ResponseContext filter(RequestContext request,
                              FilterChain chain)
Description copied from interface: Filter
Process the filter request. The filter must call to pass the request on to the next filter or the provider.

Specified by:
filter in interface Filter

Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.